Re: Why isn't stats_temp_directory automatically created?

Поиск
Список
Период
Сортировка
Искать
От
Fujii Masao
Тема
Re: Why isn't stats_temp_directory automatically created?
Дата
Msg-id
3f0b79eb0904220057v50b8c8e8u92d853902700b55a@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Why isn't stats_temp_directory automatically created? Fujii Masao <masao.fujii@gmail.com>
Re: Why isn't stats_temp_directory automatically created? Euler Taveira de Oliveira <euler@timbira.com>
Re: Why isn't stats_temp_directory automatically created? Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Why isn't stats_temp_directory automatically created? Fujii Masao <masao.fujii@gmail.com>
Re: Why isn't stats_temp_directory automatically created? Magnus Hagander <magnus@hagander.net>
Re: Why isn't stats_temp_directory automatically created? Fujii Masao <masao.fujii@gmail.com>
Re: Why isn't stats_temp_directory automatically created? Magnus Hagander <magnus@hagander.net>
Re: Why isn't stats_temp_directory automatically created? Fujii Masao <masao.fujii@gmail.com>
Re: Why isn't stats_temp_directory automatically created? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why isn't stats_temp_directory automatically created? Bruce Momjian <bruce@momjian.us>
Re: Why isn't stats_temp_directory automatically created? Tom Lane <tgl@sss.pgh.pa.us>
Re: Why isn't stats_temp_directory automatically created? Bruce Momjian <bruce@momjian.us>
Re: Why isn't stats_temp_directory automatically created? Magnus Hagander <magnus@hagander.net>
Re: Why isn't stats_temp_directory automatically created? Fujii Masao <masao.fujii@gmail.com>
Hi,

On Tue, Apr 21, 2009 at 4:33 PM, Fujii Masao  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
В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Fujii Masao
Дата:
FAQ