Fix handling of symlinked pg_stat_tmp and pg_replslot

Magnus Hagander <magnus@hagander.net>

Commit: 6d779e05a03d2c06433b71b76f9b0168d47d1a3e
Author: Magnus Hagander <magnus@hagander.net>
Date: 2016-11-07T14:03:56Z
Releases: 9.5.6
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