From: Alvaro Herrera <alvherre@commandprompt.com>
To: simon.marshall <simon.marshall@metaswitch.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Postgres running but no postmaster.pid
Date: Wed, 03 Aug 2011 12:08:40 -0400
Message-ID: <1312387568-sup-9260@alvh.no-ip.org> (raw)
In-Reply-To: <1312387015614-4662719.post@n5.nabble.com>
References: <1312383740257-4662510.post@n5.nabble.com>
<18084.1312386293@sss.pgh.pa.us>
<1312386707624-4662703.post@n5.nabble.com>
<1312387015614-4662719.post@n5.nabble.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@commandprompt.com, simon.marshall@metaswitch.com
Subject: Re: Postgres running but no postmaster.pid
In-Reply-To: <1312387568-sup-9260@alvh.no-ip.org>
References: <1312383740257-4662510.post@n5.nabble.com> <18084.1312386293@sss.pgh.pa.us> <1312386707624-4662703.post@n5.nabble.com> <1312387015614-4662719.post@n5.nabble.com> <1312387568-sup-9260@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox