[COMMITTERS] pgsql: Fix aboriginal mistake in plpython's set-returning-function supp

2010-11-15 Thread Tom Lane
Fix aboriginal mistake in plpython's set-returning-function support. We must stay in the function's SPI context until done calling the iterator that returns the set result. Otherwise, any attempt to invoke SPI features in the python code called by the iterator will malfunction. Diagnosis and pat

[COMMITTERS] pgsql: Fix aboriginal mistake in plpython's set-returning-function supp

2010-11-15 Thread Tom Lane
Fix aboriginal mistake in plpython's set-returning-function support. We must stay in the function's SPI context until done calling the iterator that returns the set result. Otherwise, any attempt to invoke SPI features in the python code called by the iterator will malfunction. Diagnosis and pat

[COMMITTERS] pgsql: Fix aboriginal mistake in plpython's set-returning-function supp

2010-11-15 Thread Tom Lane
Fix aboriginal mistake in plpython's set-returning-function support. We must stay in the function's SPI context until done calling the iterator that returns the set result. Otherwise, any attempt to invoke SPI features in the python code called by the iterator will malfunction. Diagnosis and pat

[COMMITTERS] pgsql: Fix aboriginal mistake in plpython's set-returning-function supp

2010-11-15 Thread Tom Lane
Fix aboriginal mistake in plpython's set-returning-function support. We must stay in the function's SPI context until done calling the iterator that returns the set result. Otherwise, any attempt to invoke SPI features in the python code called by the iterator will malfunction. Diagnosis and pat

[COMMITTERS] pgsql: Fix aboriginal mistake in plpython's set-returning-function supp

2010-11-15 Thread Tom Lane
Fix aboriginal mistake in plpython's set-returning-function support. We must stay in the function's SPI context until done calling the iterator that returns the set result. Otherwise, any attempt to invoke SPI features in the python code called by the iterator will malfunction. Diagnosis and pat

[COMMITTERS] pgbuildfarm - client-code: Call run_build.pl directly.

2010-11-15 Thread User Andrewd
Log Message: --- Call run_build.pl directly. Tweak error checking. Modified Files: -- client-code: run_branches.pl (r1.2 -> r1.3) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbuildfarm/client-code/run_branches.pl?r1=1.2&r2=1.3) -- Sent via pgsql-committ

[COMMITTERS] pgsql: Add new buffers_backend_fsync field to pg_stat_bgwriter.

2010-11-15 Thread Robert Haas
Add new buffers_backend_fsync field to pg_stat_bgwriter. This new field counts the number of times that a backend which writes a buffer out to the OS must also fsync() it. This happens when the bgwriter fsync request queue is full, and is generally detrimental to performance, so it's good to know

[COMMITTERS] pgsql: Remove outdated comments from the regression test files.

2010-11-15 Thread Robert Haas
Remove outdated comments from the regression test files. Since 2004, int2 and int4 operators do detect overflow; this was fixed by commit 4171bb869f234281a13bb862d3b1e577bf336242. Extracted from a larger patch by Andres Freund. Branch -- master Details --- http://git.postgresql.org/gitw

[COMMITTERS] pgsql: Fix copy-and-pasteo a little more completely.

2010-11-15 Thread Robert Haas
Fix copy-and-pasteo a little more completely. copydir.c is no longer in src/port Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=20cf8ae478c2712d4c211b49868e334357f05356 Modified Files -- src/include/storage/copydir.h |2 +- 1

[COMMITTERS] pgsql: Fix copy-and-pasteo.

2010-11-15 Thread Alvaro Herrera
Fix copy-and-pasteo. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=ae4b17edeebc6670ba222a8cfbb1658d02203d29 Modified Files -- src/include/storage/copydir.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) -- Sen

[COMMITTERS] pgsql: Avoid spurious Hot Standby conflicts from btree delete records.

2010-11-15 Thread Simon Riggs
Avoid spurious Hot Standby conflicts from btree delete records. Similar conflicts were already avoided for related record types. Massive over-caution resulted in a usability bug. Clear theoretical basis for doing this is now confirmed by me. Request to remove from Heikki (twice), over-caution by me

[COMMITTERS] pgsql: Avoid spurious Hot Standby conflicts from btree delete records.

2010-11-15 Thread Simon Riggs
Avoid spurious Hot Standby conflicts from btree delete records. Similar conflicts were already avoided for related record types. Massive over-caution resulted in a usability bug. Clear theoretical basis for doing this is now confirmed by me. Request to remove from Heikki (twice), over-caution by me