RE: postgres crash on CURSORS - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject RE: postgres crash on CURSORS
Date
Msg-id 000501bf9f68$a2d5d0c0$2801007e@tpf.co.jp
Whole thread Raw
In response to Re: postgres crash on CURSORS  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: postgres crash on CURSORS
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Index tuple count != heap tuple count problem identified]
Next
From: Tatsuo Ishii
Date:
Subject: Re: Doc updates