>From: pgsql-hackers-ow...@postgresql.org [pgsql-hackers-ow...@postgresql.org] >on behalf of Peter Eisentraut [pete...@gmx.net] > Sent: Friday, July 27, 2012 10:39 AM
> It seems strange that the external_pid_file is never removed. There is > even a C comment about it: > /* Should we remove the pid file on postmaster exit? */ > 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; Making handling of both postmaster.pid and external_pid_file same in terms of creation and removal may not be best choice as both have different purpose. With Regards, Amit Kapila. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers