pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Selva manickaraja <mavles78@gmail.com>
Cc: Dean Gibson (DB Administrator) <postgresql@ultimeth.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Trigger File Behaviour
Date: Mon, 21 Feb 2011 07:19:20 +0100
Message-ID: <4D6203E8.1050400@lelarge.info> (raw)
In-Reply-To: <AANLkTik=piHvPHX8ovrduYBfmoCmgsRiWT=GaE6Sf-VR@mail.gmail.com>
References: <AANLkTikrTrOggedojBU68jPyGOzKaxc3VX92xe=wTUrc@mail.gmail.com>
	<4D5D5816.9000900@ultimeth.com>
	<AANLkTincR5ddX3qMkwipp0BAgnfHd1w7j3T=rQiv+Bew@mail.gmail.com>
	<4D5DED9B.4090407@ultimeth.com>
	<AANLkTik=piHvPHX8ovrduYBfmoCmgsRiWT=GaE6Sf-VR@mail.gmail.com>

Le 21/02/2011 02:04, Selva manickaraja a écrit :
> I encountered a small issue when I run the script in the old-primary. The
> "SELECT  pg_start_backup...." part of the script will fail since the
> postgres service has been stopped. Is this error meant to happen?
> 

The "SELECT pg_start_backup... rsync... SELECT pg_stop_backup" must
happen on the new primary. The psql comand probably needs a "-h
new.primary.hostname" switch.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com



view thread (7+ messages)

Message-ID: <4D6203E8.1050400@lelarge.info>
Permalink:  ../4D6203E8.1050400@lelarge.info/
Also on:    postgresql.org/message-id/4D6203E8.1050400@lelarge.info

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: guillaume@lelarge.info, mavles78@gmail.com, postgresql@ultimeth.com
  Subject: Re: Trigger File Behaviour
  In-Reply-To: <4D6203E8.1050400@lelarge.info>

* 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