Re: stopping server does not remove external_pid_file - Mailing list pgsql-bugs

From Euler Taveira de Oliveira
Subject Re: stopping server does not remove external_pid_file
Date
Msg-id 20060607014616.GE1427@timbira.com
Whole thread Raw
In response to stopping server does not remove external_pid_file  (Martin Pitt <martin@piware.de>)
Responses Re: stopping server does not remove external_pid_file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Martin Pitt wrote:

> I just played around with external_pid_file in 8.1.4. I noticed that
> the file is created and filled properly, but it is not removed again
> when the server is stopped.
>
Looking at the code I see this comment in
src/backend/postmaster/postmaster.c

/* Should we remove the pid file on postmaster exit? */

IMHO, yes. It's not useful anymore.

Maybe some simple test in pmdie(). I'm too tired to code something now.
:(


--
  Euler Taveira de Oliveira
  http://www.timbira.com/

pgsql-bugs by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: BUG #2465: Installation
Next
From: Tom Lane
Date:
Subject: Re: stopping server does not remove external_pid_file