Re: PQdeleteTuple function in libpq

Поиск
Список
Период
Сортировка
От Andrew Chernow
Тема Re: PQdeleteTuple function in libpq
Дата
Msg-id 4DE6A5B7.2070700@esilo.com
обсуждение исходный текст
Ответ на PQdeleteTuple function in libpq  (Pavel Golub <pavel@microolap.com>)
Ответы Re: PQdeleteTuple function in libpq  (Pavel Golub <pavel@microolap.com>)
Список pgsql-hackers
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/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORM] Hash Anti Join performance degradation
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PERFORM] Hash Anti Join performance degradation