[COMMITTERS] pgsql: Avoid treating WAL senders as normal backends.

2011-01-21 Thread Robert Haas
Avoid treating WAL senders as normal backends. The previous coding treated anything that wasn't an autovacuum launcher as a normal backend, which is wrong now that we also have WAL senders. Fujii Masao, reviewed by Robert Haas, Alvaro Herrera, Tom Lane, and Bernd Helmle. Branch -- master De

[COMMITTERS] pgsql: Code cleanup for assign_XactIsoLevel.

2011-01-21 Thread Robert Haas
Code cleanup for assign_XactIsoLevel. The new coding avoids a spurious debug message when a transaction that has changed the isolation level has been rolled back. It also allows the property to be freely changed to the current value within a subtransaction. Kevin Grittner, with one small change

[COMMITTERS] pgsql: More pg_test_fsync cleanup.

2011-01-21 Thread Tom Lane
More pg_test_fsync cleanup. Un-break Windows build (I hope) by making the HAVE_FSYNC_WRITETHROUGH code match the backend. Fix incorrect program help message. static-ize all functions. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=cb38ab6d

[COMMITTERS] pgsql: Clean up pg_test_fsync commit.

2011-01-21 Thread Tom Lane
Clean up pg_test_fsync commit. Actually rename the program, rather than just claiming we did. Hook it into the build system. Get rid of useless dependency on libpq. Clean up #include list and messy whitespace. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.

[COMMITTERS] pgsql: Fix broken markup, also minor copy-editing.

2011-01-21 Thread Tom Lane
Fix broken markup, also minor copy-editing. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0cf3db2175ec770097b9c44d9a8e1e8c281ee5a6 Modified Files -- doc/src/sgml/pgtestfsync.sgml | 24 ++-- 1 files changed,

[COMMITTERS] pgsql: Correctly add exceptions to the plpy module for Python 3

2011-01-21 Thread Peter Eisentraut
Correctly add exceptions to the plpy module for Python 3 The way the exception types where added to the module was wrong for Python 3. Exception classes were not actually available from plpy. Fix that by factoring out code that is responsible for defining new Python exceptions and make it work wi

[COMMITTERS] pgsql: Fix pg_restore to do the right thing when escaping large objects

2011-01-21 Thread Tom Lane
Fix pg_restore to do the right thing when escaping large objects. Specifically, this makes the workflow pg_dump -Fc -> pg_restore -> file produce correct output for BLOBs when the source database has standard_conforming_strings turned on. It was already okay when that was off, or if pg_restore wa

[COMMITTERS] pgsql: Fix pg_restore to do the right thing when escaping large objects

2011-01-21 Thread Tom Lane
Fix pg_restore to do the right thing when escaping large objects. Specifically, this makes the workflow pg_dump -Fc -> pg_restore -> file produce correct output for BLOBs when the source database has standard_conforming_strings turned on. It was already okay when that was off, or if pg_restore wa

[COMMITTERS] pgsql: Fix pg_restore to do the right thing when escaping large objects

2011-01-21 Thread Tom Lane
Fix pg_restore to do the right thing when escaping large objects. Specifically, this makes the workflow pg_dump -Fc -> pg_restore -> file produce correct output for BLOBs when the source database has standard_conforming_strings turned on. It was already okay when that was off, or if pg_restore wa

[COMMITTERS] pgsql: Emphasize where OVER needs to be when using a window function.

2011-01-21 Thread Robert Haas
Emphasize where OVER needs to be when using a window function. Jeff Turner Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d3b372e92d4efdd6f63da35996f04ff009c932b5 Modified Files -- doc/src/sgml/advanced.sgml |2 +- 1 files ch

[COMMITTERS] pgsql: Update SGML docs to point to new /contrib/pg_test_fsync.

2011-01-21 Thread Bruce Momjian
Update SGML docs to point to new /contrib/pg_test_fsync. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5925aa09a9110fe0d12393c758812e7149546443 Modified Files -- doc/src/sgml/wal.sgml |4 ++-- 1 files changed, 2 insertions(+)

[COMMITTERS] pgsql: Update C banner on new pg_test_fsync file.

2011-01-21 Thread Bruce Momjian
Update C banner on new pg_test_fsync file. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b35bfcae937810f43fdf2327bcea2e8a03ccbf68 Modified Files -- contrib/pg_test_fsync/test_fsync.c |3 --- 1 files changed, 0 insertions(+),

[COMMITTERS] pgsql: Move test_fsync to /contrib.

2011-01-21 Thread Bruce Momjian
Move test_fsync to /contrib. Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=606a3d54fcd053c31e52886f4c69848a68777480 Modified Files -- contrib/pg_test_fsync/Makefile | 23 ++ contrib/pg_test_fsync/test_fsync.c | 549 +++

[COMMITTERS] pgsql: Don't require usage privileges on the foreign data wrapper when

2011-01-21 Thread Heikki Linnakangas
Don't require usage privileges on the foreign data wrapper when creating a foreign table. We check for usage privileges on the foreign server, that ought to be enough. Shigeru HANADA Branch -- master Details --- http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8aea1373d8f