Re: Postgres running but no postmaster.pid - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: Postgres running but no postmaster.pid
Date
Msg-id 1312387568-sup-9260@alvh.no-ip.org
Whole thread Raw
In response to Re: Postgres running but no postmaster.pid  ("simon.marshall" <simon.marshall@metaswitch.com>)
Responses Re: Postgres running but no postmaster.pid
List pgsql-bugs
Excerpts from simon.marshall's message of mié ago 03 11:56:55 -0400 2011:
> In fact, looking at it further, we stop the database (only continuing if this
> succeeds), copy our backup data over, remove the copied over postmaster.pid,
> make some config. changes and then (again, only if all this succeeds), start
> the database again, which should surely recreate postmaster.pid?

Why would you remove the copied postmaster.pid?  Surely if the database
is stopped, it shouldn't be there in the first place.

... oh, are you copying a database that's running elsewhere?

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "simon.marshall"
Date:
Subject: Re: Postgres running but no postmaster.pid
Next
From: "simon.marshall"
Date:
Subject: Re: Postgres running but no postmaster.pid