Re: Postgres running but no postmaster.pid

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: simon(dot)marshall <simon(dot)marshall(at)metaswitch(dot)com>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Postgres running but no postmaster.pid
Date: 2011-08-03 16:08:40
Message-ID: 1312387568-sup-9260@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message simon.marshall 2011-08-03 16:11:41 Re: Postgres running but no postmaster.pid
Previous Message simon.marshall 2011-08-03 15:56:55 Re: Postgres running but no postmaster.pid