| From: | "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | RE: postgres crash on CURSORS |
| Date: | 2000-04-06 01:37:14 |
| Message-ID: | 000501bf9f68$a2d5d0c0$2801007e@tpf.co.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)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(at)tpf(dot)co(dot)jp
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2000-04-06 01:58:06 | Re: [HACKERS] Doc updates |
| Previous Message | Bruce Momjian | 2000-04-06 01:24:26 | Re: Index tuple count != heap tuple count problem identified] |