Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-hackers by date

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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group