Re: determining if there's a transaction in progress

Поиск
Список
Период
Сортировка
От Steve Howe
Тема Re: determining if there's a transaction in progress
Дата
Msg-id 17444773280.20020816151103@carcass.dhs.org
обсуждение исходный текст
Ответ на determining if there's a transaction in progress  (Daniel Kelley <dkelley@otec.com>)
Список pgsql-interfaces
Hello Daniel,

Friday, August 16, 2002, 10:54:26 AM, you wrote:


DK> hi-

DK> i'm using libpq.  is there any way to determine if there is a transaction
DK> is process thru libpq?
There is not.

DK> specifically, i'm looking for a function that would tell me whether or not
DK> there are changes that should be committed to the db before program exit.
If you want to ensure it, I suggest you to *always* start a
transaction and then commit it at the end.

------------- 
Best regards,Steve Howe                           mailto:howe@carcass.dhs.org



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

Предыдущее
От: Daniel Kelley
Дата:
Сообщение: determining if there's a transaction in progress
Следующее
От: "Warren W. Gay VE3WWG"
Дата:
Сообщение: libpq bug handling signals