Re: [INTERFACES] [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction
В списке pgsql-patches по дате отправления:
| От | Michael Meskes |
|---|---|
| Тема | Re: [INTERFACES] [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction |
| Дата | |
| Msg-id | 20050912123634.GB21008@1 обсуждение исходный текст |
| Ответ на | Re: [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction (Michael Fuhr <mike@fuhr.org>) |
| Список | pgsql-patches |
On Sat, Aug 13, 2005 at 09:01:45AM -0600, Michael Fuhr wrote: > If no statements have been executed in this transaction then committed > is true, so ECPGtrans() ignores the current statement. It looks > like the code should make an extra consideration for SAVEPOINT in > case it's the first statement. I rearranged the whole code as it seemed to have more holes. This code really was old. :-) So could you please check with the lates CVS, either HEAD or 8.0? > I'm also wondering if the check for a NULL return value from PQexec() > is sufficient. Shouldn't it also check for a non-NULL result that's > anything other than PGRES_COMMAND_OK? Yes, it should. I changed this as well. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера