git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c66bc72) | patch
Be more conservative about removing tablespace "symlinks".
2015年6月26日 19:53:13 +0000 (15:53 -0400)
2015年6月26日 19:53:13 +0000 (15:53 -0400)
commit 8f15f74a44f68f9cb3a644786d3c732a5eeb237a
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.
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/commands/tablespace.c diff | blob | blame | history
src/include/commands/tablespace.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /