PQfinish in transactions

Поиск
Список
Период
Сортировка
От Brook Milligan
Тема PQfinish in transactions
Дата
Msg-id 199901111918.MAA29200@trillium.nmsu.edu
обсуждение исходный текст
Список pgsql-hackers
What happens if PQfinish() is called from within a transaction PRIOR
to either committing or rolling back the transaction?

Does the transaction get committed?  rolled back?  left in an
undefined state?

Also, in the normal case of a begin/commit sequence, does the
transaction end at the commit (i.e., is begin/commit/commit an error)
or does the transaction continue until the connection is closed?

Thanks for your help.

Cheers,
Brook


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

Предыдущее
От: Sferacarta Software
Дата:
Сообщение: Re[2]: [HACKERS] JOIN syntax. Examples?
Следующее
От: "Jackson, DeJuan"
Дата:
Сообщение: CONSTRAINTS...