two rows are inserted by SELECT execq('INSERT INTO a SELECT x + 2FROM a', 1) - Mailing list pgsql-docs

From PG Doc comments form
Subject two rows are inserted by SELECT execq('INSERT INTO a SELECT x + 2FROM a', 1)
Date
Msg-id 20180104134705.17008.46415@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
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.

pgsql-docs by date:

Previous
From: Thomas Munro
Date:
Subject: Element sup in namespace '' encountered in a, but no template matches.
Next
From: PG Doc comments form
Date:
Subject: J.2. Tool Sets/Appendix J. Documentation missing package