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

From Richard Neill
Subject Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed
Date
Msg-id 4AF76A88.9060906@hermes.cam.ac.uk
Whole thread Raw
In response to Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> "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.

That's a fair point, although as I understand it, it's reasonable to
move, say, pg_xlog in that manner.

Why
> didn't you use a tablespace like you're supposed to?

Because it wasn't supposed to be anything other than a temporary
workaround, and because I had only 5 minutes of downtime in which to
find more diskspace!

Anyway, I guess that's another "bug" report of mine that turns out to be
useless :-)

Best wishes,

Richard

>
>             regards, tom lane
>

pgsql-bugs by date:

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