Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Richard Neill" <rn214(at)cam(dot)ac(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed
Date: 2009-11-09 00:41:37
Message-ID: 20847.1257727297@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Richard Neill" <rn214(at)cam(dot)ac(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Richard Neill 2009-11-09 01:04:08 Re: BUG #5174: [minor] directories symlinked into base/ are not recursively removed
Previous Message Tom Lane 2009-11-09 00:38:59 Re: odd deadlock on CREATE TABLE AS SELECT