diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-06-26 15:53:13 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-06-26 15:53:13 -0400 |
commit | 8f15f74a44f68f9cb3a644786d3c732a5eeb237a (patch) | |
tree | b95601c38396e998300f14ccdd91f5beaa2480fd /src/backend/commands/functioncmds.c | |
parent | c66bc72e8a1318e43ea657ffa3798fa95f491650 (diff) | |
download | postgresql-8f15f74a44f68f9cb3a644786d3c732a5eeb237a.tar.gz postgresql-8f15f74a44f68f9cb3a644786d3c732a5eeb237a.zip |
Be more conservative about removing tablespace "symlinks".
Don't apply rmtree(), which will gleefully remove an entire subtree,
and don't even apply unlink() unless it's symlink or a directory,
the only things that we expect to find.
Amit Kapila, with minor tweaks by me, per extensive discussions
involving Andrew Dunstan, Fujii Masao, and Heikki Linnakangas,
at least some of whom also reviewed the code.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions