RE: postgres crash on CURSORS
От | Hiroshi Inoue |
---|---|
Тема | RE: postgres crash on CURSORS |
Дата | |
Msg-id | 000501bf9f68$a2d5d0c0$2801007e@tpf.co.jp обсуждение исходный текст |
Ответ на | Re: postgres crash on CURSORS (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: postgres crash on CURSORS
|
Список | pgsql-hackers |
> -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > > >> If we are in abort state and > >> the submitted query string is > >> > >> SELECT foo ; ROLLBACK ; SELECT bar > >> > >> it seems to me that the correct response is to reject the first select > >> and process the second. The currently committed code does so, but > >> your patch would fail. > > > It seems pg_parse_and_plan() returns NIL plan_list and NIL > > querytree_list in this case. > > You're not looking at current CVS ;-) > Sorry,I see your change now. Unfortunately I've never used multiple query and understand little about it. For example,how to know using libpq that the first select was ignored ? Regards. Hiroshi Inoue Inoue@tpf.co.jp
В списке pgsql-hackers по дате отправления: