BUG #6572: The example of SPI_execute is bogus

From: umi(dot)tanuki(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6572: The example of SPI_execute is bogus
Date: 2012-04-04 01:42:01
Message-ID: E1SFFEX-0006wr-AT@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

The following bug has been logged on the website:

Bug reference: 6572
Logged by: Hitoshi Harada
Email address: umi(dot)tanuki(at)gmail(dot)com
PostgreSQL version: 9.1.3
Operating system: Any
Description:

http://www.postgresql.org/docs/9.1/static/spi-spi-execute.html

===
SPI_execute("INSERT INTO foo SELECT * FROM bar", false, 5);

will allow at most 5 rows to be inserted into the table.
===

This seems not true unless I'm missing something.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message jjangelo 2012-04-04 11:16:51 BUG #6573: The database cluster initialisation failed
Previous Message John R Pierce 2012-04-03 16:50:38 Re: BUG #6571: Postgres Kills 'Select 1' query randomly on hot standby databases

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2012-04-04 03:12:18 Re: Switching to Homebrew as recommended Mac install?
Previous Message Scott Mead 2012-04-04 00:46:29 Re: invalid search_path complaints