Re: Why isn't stats_temp_directory automatically created? - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Why isn't stats_temp_directory automatically created?
Date
Msg-id 3f0b79eb0904220057v50b8c8e8u92d853902700b55a@mail.gmail.com
Whole thread Raw
In response to Re: Why isn't stats_temp_directory automatically created?  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
Hi,

On Tue, Apr 21, 2009 at 4:33 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Here is the revised patch; If stats_temp_directory indicates the symlink,
> we pursue the chain of symlinks and create the referenced directory.

BTW, this patch is useful also as the foundation for improving
creation of log_directory. Attached patch fixes the following
problem of log_directory by using that fundamental patch.

- log_directory is not created when a configuration file is reloaded
- creation of log_directory fails if the parent directory of it doesn't exist
- if log_directory indicates the symlink, it's not resolved

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: New trigger option of pg_standby
Next
From: Fujii Masao
Date:
Subject: The last WAL segment of the old timeline is not archived for a while after archive recovery