Re: BUG #2096: bug in a SPI sample document - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2096: bug in a SPI sample document
Date
Msg-id 530.1133970053@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2096: bug in a SPI sample document  ("Yoshihisa Nakano" <nakano.yosihisa@jp.fujitsu.com>)
List pgsql-bugs
"Yoshihisa Nakano" <nakano.yosihisa@jp.fujitsu.com> writes:
> => INSERT INTO a VALUES (execq('SELECT * FROM a', 0) + 1);
> INFO:  EXECQ:  0
> INSERT 167713 1

> I tried this example, but INFO showed 1, not 0.

Yeah ... the INSERT won't show an OID by default anymore, either.
Fixed; thanks for the report!

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2097: Union bug.
Next
From: Nicolas Barbier
Date:
Subject: Re: [PATCHES] Patch to allow contrib/pgbench files to have blank lines