Re: external_pid_file not removed on postmaster exit

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit kapila <amit.kapila@huawei.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-07-28T16:16:59Z
Lists: pgsql-hackers
Amit kapila <amit.kapila@huawei.com> writes:
>> I think it should be removed with proc_exit hook just like the main
>> postmaster.pid file.

> external_pid_file is created first time when it is enabled in postgresql.conf
> I think it should be removed once the parameter external_pid_file is unset; 

Unset?  If that parameter is not PGC_POSTMASTER, it certainly ought to
be.  In any case, that has little to do with what Peter is complaining
about ...

			regards, tom lane