[COMMITTERS] pgsql: Improve some messages

2015-12-10 Thread Peter Eisentraut
Improve some messages Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a351705d8a7fbbc98c2449786d2ddfa845f21b6a Modified Files -- src/backend/access/transam/commit_ts.c |2 +- src/backend/catalog/objectaddress.c |2 +- src/backend/comm

[COMMITTERS] pgsql: Improve some messages

2015-12-10 Thread Peter Eisentraut
Improve some messages Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/0fc7c4a557752652ebb55ad11228129b530e Modified Files -- src/backend/access/transam/commit_ts.c |2 +- src/backend/catalog/objectaddress.c |2 +- src/backe

[COMMITTERS] pgsql: Improve ALTER POLICY tab completion.

2015-12-10 Thread Robert Haas
Improve ALTER POLICY tab completion. Complete "ALTER POLICY" with a policy name, as we do for DROP POLICY. And, complete "ALTER POLICY polname ON" with a table name that has such a policy, as we do for DROP POLICY, rather than with any table name at all. Masahiko Sawada Branch -- REL9_5_STAB

[COMMITTERS] pgsql: Improve ALTER POLICY tab completion.

2015-12-10 Thread Robert Haas
Improve ALTER POLICY tab completion. Complete "ALTER POLICY" with a policy name, as we do for DROP POLICY. And, complete "ALTER POLICY polname ON" with a table name that has such a policy, as we do for DROP POLICY, rather than with any table name at all. Masahiko Sawada Branch -- master Det

[COMMITTERS] pgsql: Fix typo.

2015-12-10 Thread Robert Haas
Fix typo. Etsuro Fujita Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/348bcd864530b4860d0fd0ffe8532f590a5779f7 Modified Files -- doc/src/sgml/fdwhandler.sgml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailin

[COMMITTERS] pgsql: Fix typo.

2015-12-10 Thread Robert Haas
Fix typo. Etsuro Fujita Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/b994acf705bea9840880b1860dca9ceb0f4785ee Modified Files -- doc/src/sgml/fdwhandler.sgml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers

[COMMITTERS] pgsql: Fix bug leading to restoring unlogged relations from empty files

2015-12-10 Thread Andres Freund
Fix bug leading to restoring unlogged relations from empty files. At the end of crash recovery, unlogged relations are reset to the empty state, using their init fork as the template. The init fork is copied to the main fork without going through shared buffers. Unfortunately WAL replay so far has

[COMMITTERS] pgsql: Fix bug leading to restoring unlogged relations from empty files

2015-12-10 Thread Andres Freund
Fix bug leading to restoring unlogged relations from empty files. At the end of crash recovery, unlogged relations are reset to the empty state, using their init fork as the template. The init fork is copied to the main fork without going through shared buffers. Unfortunately WAL replay so far has

[COMMITTERS] pgsql: Fix ON CONFLICT UPDATE bug breaking AFTER UPDATE triggers.

2015-12-10 Thread Andres Freund
Fix ON CONFLICT UPDATE bug breaking AFTER UPDATE triggers. ExecOnConflictUpdate() passed t_ctid of the to-be-updated tuple to ExecUpdate(). That's problematic primarily because of two reason: First and foremost t_ctid could point to a different tuple. Secondly, and that's what triggered the compla

[COMMITTERS] pgsql: Fix ON CONFLICT UPDATE bug breaking AFTER UPDATE triggers.

2015-12-10 Thread Andres Freund
Fix ON CONFLICT UPDATE bug breaking AFTER UPDATE triggers. ExecOnConflictUpdate() passed t_ctid of the to-be-updated tuple to ExecUpdate(). That's problematic primarily because of two reason: First and foremost t_ctid could point to a different tuple. Secondly, and that's what triggered the compla

[COMMITTERS] pgsql: Fix bug leading to restoring unlogged relations from empty files

2015-12-10 Thread Andres Freund
Fix bug leading to restoring unlogged relations from empty files. At the end of crash recovery, unlogged relations are reset to the empty state, using their init fork as the template. The init fork is copied to the main fork without going through shared buffers. Unfortunately WAL replay so far has

[COMMITTERS] pgsql: Fix bug leading to restoring unlogged relations from empty files

2015-12-10 Thread Andres Freund
Fix bug leading to restoring unlogged relations from empty files. At the end of crash recovery, unlogged relations are reset to the empty state, using their init fork as the template. The init fork is copied to the main fork without going through shared buffers. Unfortunately WAL replay so far has

[COMMITTERS] pgsql: Fix bug leading to restoring unlogged relations from empty files

2015-12-10 Thread Andres Freund
Fix bug leading to restoring unlogged relations from empty files. At the end of crash recovery, unlogged relations are reset to the empty state, using their init fork as the template. The init fork is copied to the main fork without going through shared buffers. Unfortunately WAL replay so far has

[COMMITTERS] pgsql: Fix bug leading to restoring unlogged relations from empty files

2015-12-10 Thread Andres Freund
Fix bug leading to restoring unlogged relations from empty files. At the end of crash recovery, unlogged relations are reset to the empty state, using their init fork as the template. The init fork is copied to the main fork without going through shared buffers. Unfortunately WAL replay so far has

[COMMITTERS] pgsql: Accept flex > 2.5.x on Windows, too.

2015-12-10 Thread Tom Lane
Accept flex > 2.5.x on Windows, too. Commit 32f15d05c fixed this in configure, but missed the similar check in the MSVC scripts. Michael Paquier, per report from Victor Wagner Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/ee0df4d77c9f3e3aa6c5e23fa2dbc66e9cd

[COMMITTERS] pgsql: Accept flex > 2.5.x on Windows, too.

2015-12-10 Thread Tom Lane
Accept flex > 2.5.x on Windows, too. Commit 32f15d05c fixed this in configure, but missed the similar check in the MSVC scripts. Michael Paquier, per report from Victor Wagner Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/2355faae010591febd2b39e74b209a5236f

[COMMITTERS] pgsql: Accept flex > 2.5.x on Windows, too.

2015-12-10 Thread Tom Lane
Accept flex > 2.5.x on Windows, too. Commit 32f15d05c fixed this in configure, but missed the similar check in the MSVC scripts. Michael Paquier, per report from Victor Wagner Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/b3e377a004511df45dcd6bc58353ce1f449

[COMMITTERS] pgsql: Accept flex > 2.5.x on Windows, too.

2015-12-10 Thread Tom Lane
Accept flex > 2.5.x on Windows, too. Commit 32f15d05c fixed this in configure, but missed the similar check in the MSVC scripts. Michael Paquier, per report from Victor Wagner Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/9c779c49e39372c21214ad2dc5864dd78caee82d

[COMMITTERS] pgsql: Accept flex > 2.5.x on Windows, too.

2015-12-10 Thread Tom Lane
Accept flex > 2.5.x on Windows, too. Commit 32f15d05c fixed this in configure, but missed the similar check in the MSVC scripts. Michael Paquier, per report from Victor Wagner Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/7f94a5c106f88d5abbcc84e545962208fac