BUG #6572: The example of SPI_execute is bogus - Mailing list pgsql-bugs

From umi.tanuki@gmail.com
Subject BUG #6572: The example of SPI_execute is bogus
Date
Msg-id E1SFFEX-0006wr-AT@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6572: The example of SPI_execute is bogus  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
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:=20=20=20=20=20=20=20=20

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.

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: BUG #6571: Postgres Kills 'Select 1' query randomly on hot standby databases
Next
From: jjangelo@live.com
Date:
Subject: BUG #6573: The database cluster initialisation failed