Re: stopping server does not remove external_pid_file

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Cc: Martin Pitt <martin(at)piware(dot)de>
Subject: Re: stopping server does not remove external_pid_file
Date: 2006-06-07 01:46:16
Message-ID: 20060607014616.GE1427@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-06-07 02:52:01 Re: stopping server does not remove external_pid_file
Previous Message Jim C. Nasby 2006-06-06 22:40:39 Re: BUG #2465: Installation