1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

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.
This commit is contained in:
Heikki Linnakangas
2015-08-03 15:32:06 +03:00
parent 69b7a35c9a
commit 0e42397f42
6 changed files with 107 additions and 5 deletions

View File

@ -10,6 +10,7 @@ sub run_test
my $test_mode = shift;
RewindTest::setup_cluster();
RewindTest::start_master();
# Create a database in master.
master_psql('CREATE DATABASE inmaster');