From: Bill MacArthur <webmaster@dhs-club.com>
To: pgsql-admin@postgresql.org
Subject: Re: Postgresql switch over process
Date: Wed, 17 Oct 2012 15:48:37 -0400
Message-ID: <507F0B95.5010002@dhs-club.com> (raw)
In-Reply-To: <CAM42borBe52ZOxw7cxFB1VKHfVaevHpFmvCPBtRQPRN0G83GYw@mail.gmail.com>
References: <CAM42boq+Vva-gQQR9wPCwJKBZyYDpkOV_rKnRS=1yc=tV6Sqfw@mail.gmail.com>
<CAM42borBe52ZOxw7cxFB1VKHfVaevHpFmvCPBtRQPRN0G83GYw@mail.gmail.com>
On 10/17/2012 3:20 PM, Shams Khan wrote:
> Can somebody tell me how we can automate the switch over process, I
> know there is once file recovery.conf which contains the parameter
> trigger_file. But my question is what code that file contains....Hope
> my thinking is correct.
>
>
The trigger file itself contains nothing. You can simply create an empty file when it's needed. You can use 'touch' in linux. The server will see that it has appeared and do what it needs to do from there.
Bill MacArthur
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: webmaster@dhs-club.com
Subject: Re: Postgresql switch over process
In-Reply-To: <507F0B95.5010002@dhs-club.com>
* 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