| От | Sean Chittenden |
|---|---|
| Тема | Re: New SET/autocommit problem |
| Дата | |
| Msg-id | 20021022171046.GA87110@perrin.int.nxad.com обсуждение |
| Ответ на | Re: New SET/autocommit problem (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> > WARNING: COMMIT: no transaction in progress > > > I've got tons of these warnings in my logs... is there a programmatic > > way of determining if the current session is in a transaction? > > Not at present: you have to track it for yourself. One of the > suggestions on the list for the next frontend/backend protocol revision > (probably in 7.4) is to add a way for the backend to signal its > transaction state: no transaction, in transaction, or in failed > transaction seems like the set of possible states. That would be fabulous because with autocommit set to off, the complexity for tracking that in application is getting pretty gnarly. -sc -- Sean Chittenden
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера