Fix handling of symlinked pg_stat_tmp and pg_replslot

Magnus Hagander <magnus@hagander.net>

Commit: 5556420d46fd890fe684724daa32dd4bcc8c4b42
Author: Magnus Hagander <magnus@hagander.net>
Date: 2016-11-07T14:04:23Z
Releases: 9.4.11
Fix handling of symlinked pg_stat_tmp and pg_replslot

This was already fixed in HEAD as part of 6ad8ac60 but was not
backpatched.

Also change the way pg_xlog is handled to be the same as the other
directories.

Patch from me with pg_xlog addition from Michael Paquier, test updates
from David Steele.

Files

PathChange+/−
src/backend/replication/basebackup.c modified +30 −18