Skip site navigation (1) Skip section navigation (2)

Linux libpq dbupdates

From: Tom Knowles <tom(at)peters(dot)co(dot)uk>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Linux libpq dbupdates
Date: 2001-11-27 14:05:52
Message-ID: 3C039DC0.8537F590@peters.co.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
As a newcomer to postgres/libpq, I would be grateful for some help.
I can see my way clear to effecting most operations using libpq & C
However, I see no fluid way of formulating an update command as there
seem to be no functions to identify the appropriate fields (typically
the index fields) in order to complete the 'WHERE' portion of the
command
string.

Suppose that a number of tuples are returned from a query, which may
stimulate
one or more items to be updated.

Does anyone have a good example of achieving such a relatively simple
and
common function?
OR
Is there some good comprehensive documentation (with examples) re libpq
usage.

Any pointers welcome

Many Thanks

Tom Knowles


pgsql-interfaces by date

Next:From: Tom LaneDate: 2001-11-27 16:11:02
Subject: Re: Cant load pgtclsh library into application
Previous:From: J. 'FIK' BrandDate: 2001-11-27 13:40:17
Subject: ODBC driver with dynamic cursor support ??

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group