Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed
Date
Msg-id 20847.1257727297@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5174: [minor] directories symlinked into base/ are not recursively removed  ("Richard Neill" <rn214@cam.ac.uk>)
Responses Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed  (Richard Neill <rn214@hermes.cam.ac.uk>)
List pgsql-bugs
"Richard Neill" <rn214@cam.ac.uk> writes:
> If subdirectories of base/ are actually symlinks, then postgresql deletes
> just the symlink, not the directory.

Doing that is completely unsupported, and we cannot be expected to cope
with random manual modifications to the structure of the database.  Why
didn't you use a tablespace like you're supposed to?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: odd deadlock on CREATE TABLE AS SELECT
Next
From: Richard Neill
Date:
Subject: Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed