Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 512F010366D7 for ; Tue, 3 Apr 2012 22:42:17 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SFFEk-0005WP-VV for pgsql-bugs@postgresql.org; Wed, 04 Apr 2012 01:42:16 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SFFEY-0007yW-36 for pgsql-bugs@postgresql.org; Wed, 04 Apr 2012 01:42:02 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SFFEX-0006wr-AT for pgsql-bugs@postgresql.org; Wed, 04 Apr 2012 01:42:01 +0000 Date: Wed, 04 Apr 2012 01:42:01 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6572: The example of SPI_execute is bogus To: pgsql-bugs@postgresql.org From: umi.tanuki@gmail.com X-Pg-Spam-Score: -1.0 (-) X-Archive-Number: 201204/14 X-Sequence-Number: 32765 The following bug has been logged on the website: Bug reference: 6572 Logged by: Hitoshi Harada Email address: umi.tanuki@gmail.com PostgreSQL version: 9.1.3 Operating system: Any Description: = http://www.postgresql.org/docs/9.1/static/spi-spi-execute.html =3D=3D=3D SPI_execute("INSERT INTO foo SELECT * FROM bar", false, 5); will allow at most 5 rows to be inserted into the table. =3D=3D=3D This seems not true unless I'm missing something.