[COMMITTERS] pgsql: Fix pg_rewind when pg_xlog is a symlink.

2015-08-03 Thread Heikki Linnakangas
Fix pg_rewind when pg_xlog is a symlink. pg_xlog is often a symlink, typically to a different filesystem. Don't get confused and comlain about by that, and just always pretend that it's a normal directory, even if it's really a symlink. Also add a test case for this. Backpatch to 9.5. Branch --

[COMMITTERS] pgsql: Clean up pg_rewind regression test script.

2015-08-03 Thread Heikki Linnakangas
Clean up pg_rewind regression test script. Since commit 01f6bb4b2, TestLib.pm has exported path to tmp_check directory, so let's use that also for the pg_rewind test clusters etc. Also, in master, the $tempdir_short variable has not been used since commit 13d856e17, which moved the initdb-running

[COMMITTERS] pgsql: Clean up pg_rewind regression test script.

2015-08-03 Thread Heikki Linnakangas
Clean up pg_rewind regression test script. Since commit 01f6bb4b2, TestLib.pm has exported path to tmp_check directory, so let's use that also for the pg_rewind test clusters etc. Also, in master, the $tempdir_short variable has not been used since commit 13d856e17, which moved the initdb-running

[COMMITTERS] pgsql: Fix pg_rewind when pg_xlog is a symlink.

2015-08-03 Thread Heikki Linnakangas
Fix pg_rewind when pg_xlog is a symlink. pg_xlog is often a symlink, typically to a different filesystem. Don't get confused and comlain about by that, and just always pretend that it's a normal directory, even if it's really a symlink. Also add a test case for this. Backpatch to 9.5. Branch --

Re: [COMMITTERS] pgsql: Fix pg_rewind when pg_xlog is a symlink.

2015-08-03 Thread Michael Paquier
On Mon, Aug 3, 2015 at 9:34 PM, Heikki Linnakangas wrote: > Fix pg_rewind when pg_xlog is a symlink. > > pg_xlog is often a symlink, typically to a different filesystem. Don't > get confused and comlain about by that, and just always pretend that it's a > normal directory, even if it's really a sy

Re: [COMMITTERS] pgsql: Fix pg_rewind when pg_xlog is a symlink.

2015-08-03 Thread Heikki Linnakangas
On 08/03/2015 03:54 PM, Michael Paquier wrote: On Mon, Aug 3, 2015 at 9:34 PM, Heikki Linnakangas wrote: Fix pg_rewind when pg_xlog is a symlink. pg_xlog is often a symlink, typically to a different filesystem. Don't get confused and comlain about by that, and just always pretend that it's a n

[COMMITTERS] pgsql: Make recovery rename tablespace_map to *.old if backup_label is

2015-08-03 Thread Fujii Masao
Make recovery rename tablespace_map to *.old if backup_label is not present. If tablespace_map file is present without backup_label file, there is no use of such file. There is no harm in retaining it, but it is better to get rid of the map file so that we don't have any redundant file in data di

[COMMITTERS] pgsql: Make recovery rename tablespace_map to *.old if backup_label is

2015-08-03 Thread Fujii Masao
Make recovery rename tablespace_map to *.old if backup_label is not present. If tablespace_map file is present without backup_label file, there is no use of such file. There is no harm in retaining it, but it is better to get rid of the map file so that we don't have any redundant file in data di

[COMMITTERS] pgsql: Fix psql \d output of policies.

2015-08-03 Thread Joe Conway
Fix psql \d output of policies. psql neglected to wrap parenthesis around USING and WITH CHECK expressions -- fixed. Back-patched to 9.5 where RLS policies were introduced. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c3cc844feb4a52fc57f53d129f33782d55f29340 Modi

[COMMITTERS] pgsql: Fix psql \d output of policies.

2015-08-03 Thread Joe Conway
Fix psql \d output of policies. psql neglected to wrap parenthesis around USING and WITH CHECK expressions -- fixed. Back-patched to 9.5 where RLS policies were introduced. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/8f45a58d394bbe83c54306ba769ac02c9239c25

[COMMITTERS] pgsql: Update 9.5 release notes through today.

2015-08-03 Thread Tom Lane
Update 9.5 release notes through today. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/11daccb445260de9ce03e4408ac7d908545b3319 Modified Files -- doc/src/sgml/release-9.5.sgml | 743 ++--- 1 file changed, 699 in

[COMMITTERS] pgsql: Update 9.5 release notes through today.

2015-08-03 Thread Tom Lane
Update 9.5 release notes through today. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ecc2d16bc97d160d3b4beecfc46676bbaaf157a5 Modified Files -- doc/src/sgml/release-9.5.sgml | 55 +++-- 1 file changed, 48 insertions

[COMMITTERS] pgsql: Translation updates

2015-08-03 Thread Peter Eisentraut
Translation updates Source-Git-URL: git://git.postgresql.org/git/pgtranslation/messages.git Source-Git-Hash: 01a9485e7f9d18e1195250ec68634f1d3c9497f6 Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/58b30d9829ce9c3273e8ca32be62ebc2fd0e8153 Modified Files -

[COMMITTERS] pgsql: RLS: Keep deny policy when only restrictive exist

2015-08-03 Thread Stephen Frost
RLS: Keep deny policy when only restrictive exist Only remove the default deny policy when a permissive policy exists (either from the hook or defined by the user). If only restrictive policies exist then no rows will be visible, as restrictive policies shouldn't make rows visible. To address th

[COMMITTERS] pgsql: RLS: Keep deny policy when only restrictive exist

2015-08-03 Thread Stephen Frost
RLS: Keep deny policy when only restrictive exist Only remove the default deny policy when a permissive policy exists (either from the hook or defined by the user). If only restrictive policies exist then no rows will be visible, as restrictive policies shouldn't make rows visible. To address th

[COMMITTERS] pgsql: Stamp 9.5alpha2.

2015-08-03 Thread Tom Lane
Stamp 9.5alpha2. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/6bd01f082b2de4a502173e2d48a728c131f35a02 Modified Files -- configure | 18 +- configure.in |2 +- doc/bug.template

Re: [COMMITTERS] pgsql: Fix pg_rewind when pg_xlog is a symlink.

2015-08-03 Thread Michael Paquier
On Mon, Aug 3, 2015 at 10:37 PM, Heikki Linnakangas wrote: > That's only on master, though. The TAP tests don't run on Windows in 9.5 > anyway. Oops, yes I got mistaken by the commit on 9.5. > I guess the pg_rewind tests used to work, but we didn't really advertise or > make it easy to run it, so