public inbox for [email protected]
help / color / mirror / Atom feedFrom: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: two rows are inserted by SELECT execq('INSERT INTO a SELECT x + 2 FROM a', 1)
Date: Thu, 04 Jan 2018 13:47:05 +0000
Message-ID: <[email protected]> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/static/spi-examples.html
Description:
I did some testing following this page:
https://www.postgresql.org/docs/9.6/static/spi-examples.html.
I got a different result.
According to the webpage, only one row is inserted by following SQL:
SELECT execq('INSERT INTO a SELECT x + 2 FROM a', 1);
But I ran this SQL and two rows were inserted.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: two rows are inserted by SELECT execq('INSERT INTO a SELECT x + 2 FROM a', 1)
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox