Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
Вложения
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK |
| Дата | |
| Msg-id | 20041030190730.GA8484@surnet.cl обсуждение исходный текст |
| Ответ на | Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: 8.0b4: COMMIT outside of a transaction echoes ROLLBACK
|
| Список | pgsql-hackers |
On Wed, Oct 27, 2004 at 09:29:21PM -0400, Tom Lane wrote: > Alvaro Herrera <alvherre@dcc.uchile.cl> writes: > > On Wed, Oct 27, 2004 at 04:21:53PM -0400, Tom Lane wrote: > >> On the other hand, it's also a pretty minor issue, and if it turns out > >> to require a lot of code rejiggering to make it do that, I'd not think > >> it worthwhile. > > > Patch attached. It passes the regression tests. It shouldn't have > > secondary effects, but please test. > > Wouldn't it be better to just stay in TBLOCK_STARTED state, as if the > COMMIT were just some random utility command? It's the same thing, because CommitTransactionCommand acts identically either way. I changed it anyway because it seems simpler. -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) Licensee shall have no right to use the Licensed Software for productive or commercial use. (Licencia de StarOffice 6.0 beta)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера