Re: postmaster.pid file - Mailing list pgsql-admin

From Tom Lane
Subject Re: postmaster.pid file
Date
Msg-id 23499.1187044674@sss.pgh.pa.us
Whole thread Raw
In response to postmaster.pid file  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
List pgsql-admin
"Tena Sakai" <tsakai@gallo.ucsf.edu> writes:
> When I issued, on a linux machine, the following
> command as user postgres:
>     ~/bin/pg_ctl -D ~/bin reload
> It wasn't happy.

As well it shouldn't be.  -D is supposed to specify the data directory,
not the place where the executables are.

> Upon checking, I discovered that the file postmaster.pid was
> in data directory and as I copied it into ~/bin directory (and
> changed the ownership and permission appropriately),

That was a bad idea; you'll have to delete it from there manually.

            regards, tom lane

pgsql-admin by date:

Previous
From: "olivier.boissard@cerene.fr"
Date:
Subject: Re: except command
Next
From: "Tena Sakai"
Date:
Subject: Re: postmaster.pid file