Re: PQdeleteTuple function in libpq
Andrew Chernow <[email protected]> Wed, 01 Jun 2011 16:48:55 -0400
| Newsgroups | gmane.comp.db.postgresql.devel.general,gmane.comp.db.postgresql.interfaces |
|---|---|
| Message-ID | <[email protected]> |
On 6/1/2011 11:43 AM, Pavel Golub wrote: > Hello. > > I'm some kind of PQdeleteTuple function will be very usefull in libpq. > Because right now after deleting some record I need refetch result > set, or mark tuple as deleted and this is headache for me. > IMHO, this should be handled by the application. You could track tuples removed in an int[] or copy the result set into an application defined array of C structures. I've always been under the impression that PGresult objects are immutable once delivered to the application. -- Andrew Chernow eSilo, LLC global backup http://www.esilo.com/ -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers