Re: nested transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: nested transaction
Дата
Msg-id 28116.1092147980@sss.pgh.pa.us
обсуждение исходный текст
Ответ на nested transaction  ("Rodríguez Rodríguez, Pere" <prr@hosppal.es>)
Список pgsql-general
=?ISO-8859-1?Q?=22Rodr=EDguez_Rodr=EDguez=2C_Pere=22?= <prr@hosppal.es> writes:
> Is possible to detect from pA that there is a transaction and so do a
> savepoint instead of a begin?

Depends on what you're programming in, but in principle yes.  If using
libpq, see PQtransactionStatus().

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: nested transaction
Следующее
От: "Rob Klaus"
Дата:
Сообщение: Relation does not exist