[COMMITTERS] pgsql: Fix two timeline handling bugs in pg_receivexlog.

2013-09-23 Thread Heikki Linnakangas
Fix two timeline handling bugs in pg_receivexlog. When a timeline history file is fetched from server, it is initially created with a temporary file name, and renamed to place. However, the temporary file name was constructed using an uninitialized buffer. Usually that meant that the file was crea

[COMMITTERS] pgsql: Fix two timeline handling bugs in pg_receivexlog.

2013-09-23 Thread Heikki Linnakangas
Fix two timeline handling bugs in pg_receivexlog. When a timeline history file is fetched from server, it is initially created with a temporary file name, and renamed to place. However, the temporary file name was constructed using an uninitialized buffer. Usually that meant that the file was crea

[COMMITTERS] pgsql: Fix SSL deadlock risk in libpq

2013-09-23 Thread Stephen Frost
Fix SSL deadlock risk in libpq In libpq, we set up and pass to OpenSSL callback routines to handle locking. When we run out of SSL connections, we try to clean things up by de-registering the hooks. Unfortunately, we had a few calls into the OpenSSL library after these hooks were de-registered d

[COMMITTERS] pgsql: Fix SSL deadlock risk in libpq

2013-09-23 Thread Stephen Frost
Fix SSL deadlock risk in libpq In libpq, we set up and pass to OpenSSL callback routines to handle locking. When we run out of SSL connections, we try to clean things up by de-registering the hooks. Unfortunately, we had a few calls into the OpenSSL library after these hooks were de-registered d

[COMMITTERS] pgsql: Fix SSL deadlock risk in libpq

2013-09-23 Thread Stephen Frost
Fix SSL deadlock risk in libpq In libpq, we set up and pass to OpenSSL callback routines to handle locking. When we run out of SSL connections, we try to clean things up by de-registering the hooks. Unfortunately, we had a few calls into the OpenSSL library after these hooks were de-registered d

[COMMITTERS] pgsql: Fix SSL deadlock risk in libpq

2013-09-23 Thread Stephen Frost
Fix SSL deadlock risk in libpq In libpq, we set up and pass to OpenSSL callback routines to handle locking. When we run out of SSL connections, we try to clean things up by de-registering the hooks. Unfortunately, we had a few calls into the OpenSSL library after these hooks were de-registered d

[COMMITTERS] pgsql: Fix SSL deadlock risk in libpq

2013-09-23 Thread Stephen Frost
Fix SSL deadlock risk in libpq In libpq, we set up and pass to OpenSSL callback routines to handle locking. When we run out of SSL connections, we try to clean things up by de-registering the hooks. Unfortunately, we had a few calls into the OpenSSL library after these hooks were de-registered d

[COMMITTERS] pgsql: Fix SSL deadlock risk in libpq

2013-09-23 Thread Stephen Frost
Fix SSL deadlock risk in libpq In libpq, we set up and pass to OpenSSL callback routines to handle locking. When we run out of SSL connections, we try to clean things up by de-registering the hooks. Unfortunately, we had a few calls into the OpenSSL library after these hooks were de-registered d

[COMMITTERS] pgsql: pg_upgrade: more C comment fixes

2013-09-23 Thread Bruce Momjian
pg_upgrade: more C comment fixes Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ff2a1f5e84ee9984b33ee31e6fb9c6f2760a820e Modified Files -- contrib/pg_upgrade/version_old_8_3.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-

[COMMITTERS] pgsql: pg_upgrade: fix C comment typo

2013-09-23 Thread Bruce Momjian
pg_upgrade: fix C comment typo Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/f7cf5fa262f8be1bc75f390708ceed26d25f1e7d Modified Files -- contrib/pg_upgrade/version_old_8_3.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-com

[COMMITTERS] pgsql: Don't allow system columns in CHECK constraints, except tableoid

2013-09-23 Thread Robert Haas
Don't allow system columns in CHECK constraints, except tableoid. Previously, arbitray system columns could be mentioned in table constraints, but they were not correctly checked at runtime, because the values weren't actually set correctly in the tuple. Since it seems easy enough to initialize t

[COMMITTERS] pgsql: doc: Clarify that file_fdw options require values.

2013-09-23 Thread Robert Haas
doc: Clarify that file_fdw options require values. Mike Blackwell and Robert Haas Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/54990af616ebb31fb1ae04e8aaf332d483a9e3a5 Modified Files -- doc/src/sgml/file-fdw.sgml |8 1 file changed, 8 inse

[COMMITTERS] pgsql: doc: Clarify that file_fdw options require values.

2013-09-23 Thread Robert Haas
doc: Clarify that file_fdw options require values. Mike Blackwell and Robert Haas Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/faf29715787a6ad835085643b378586d129bd247 Modified Files -- doc/src/sgml/file-fdw.sgml |8 1 file changed,

[COMMITTERS] pgsql: pgbench: Tweak documentation.

2013-09-23 Thread Noah Misch
pgbench: Tweak documentation. Fabien COELHO Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/825da2aba8ae7a5824e9fb3823125c5c755ea568 Modified Files -- contrib/pgbench/pgbench.c |2 +- doc/src/sgml/pgbench.sgml |2 +- 2 files changed, 2 insertions(+

[COMMITTERS] pgsql: Use @libdir@ in both of regress/{input, output}/security_label.so

2013-09-23 Thread Noah Misch
Use @libdir@ in both of regress/{input,output}/security_label.source Though @libdir@ almost always matches @abs_builddir@ in this context, the test could only fail if they differed. Back-patch to 9.1, where the test was introduced. Hamid Quddus Akhtar Branch -- master Details --- http:

[COMMITTERS] pgsql: Use @libdir@ in both of regress/{input, output}/security_label.so

2013-09-23 Thread Noah Misch
Use @libdir@ in both of regress/{input,output}/security_label.source Though @libdir@ almost always matches @abs_builddir@ in this context, the test could only fail if they differed. Back-patch to 9.1, where the test was introduced. Hamid Quddus Akhtar Branch -- REL9_1_STABLE Details --

[COMMITTERS] pgsql: Use @libdir@ in both of regress/{input, output}/security_label.so

2013-09-23 Thread Noah Misch
Use @libdir@ in both of regress/{input,output}/security_label.source Though @libdir@ almost always matches @abs_builddir@ in this context, the test could only fail if they differed. Back-patch to 9.1, where the test was introduced. Hamid Quddus Akhtar Branch -- REL9_2_STABLE Details --

[COMMITTERS] pgsql: Use @libdir@ in both of regress/{input, output}/security_label.so

2013-09-23 Thread Noah Misch
Use @libdir@ in both of regress/{input,output}/security_label.source Though @libdir@ almost always matches @abs_builddir@ in this context, the test could only fail if they differed. Back-patch to 9.1, where the test was introduced. Hamid Quddus Akhtar Branch -- REL9_3_STABLE Details --