Re: BEGIN inside transaction should be an error

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: BEGIN inside transaction should be an error
Дата
Msg-id 446187AC.1070502@calorieking.com
обсуждение исходный текст
Ответ на Re: BEGIN inside transaction should be an error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> We could, but it'd probably break about as many apps as it fixed.
> I wonder whether php shouldn't be complaining about this, instead
> --- doesn't php have its own ideas about controlling where the
> transaction commit points are?

All PHP does is when the connection is returned to the pool, if it is 
still in a transaction, a rollback is issued.

The guy needs to do his own tracking of transaction state if he wants to 
avoid these problems...

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BEGIN inside transaction should be an error
Следующее
От: Lukas Smith
Дата:
Сообщение: Re: BEGIN inside transaction should be an error