]> granicus.if.org Git - postgresql/commit
Avoid using readlink() on platforms that don't support it
authorMagnus Hagander <magnus@hagander.net>
Wed, 7 Dec 2011 11:09:05 +0000 (12:09 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 7 Dec 2011 11:09:59 +0000 (12:09 +0100)
commit9c32da5caa2efc9bdc7f04ae26488211ff219e8a
tree7aa083721520b8221fb252334bbe8abb994afc86
parent75594e0cf7674d78ba40699ff614a847fe675dc2
Avoid using readlink() on platforms that don't support it

We don't have any such platforms now, but might in the future.

Also, detect cases when a tablespace symlink points to a path that
is longer than we can handle, and give a warning.
src/backend/replication/basebackup.c