Re: Creating a tablespace directory in recovery - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: Creating a tablespace directory in recovery
Date
Msg-id 20090501105355.AEA4.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Creating a tablespace directory in recovery  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> wrote:

> Does anyone know why a tablespace directory isn't automatically
> created in recovery? I think that it's troublesome to create all the
> directories before recovery.

I guess that's because postgres (OS user) needs a write privilege
of *upper* directory of the tablespace directory. So, makeing
directory might fail with permission denied error.

However, it might be as well to create tablespace directories
for less-restricted installations.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Keyword list sanity check
Next
From: Heikki Linnakangas
Date:
Subject: Re: Keyword list sanity check