Skip site navigation (1) Skip section navigation (2)

Re: Correction for the Binary Replication Tutorial

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Michael Smith <michaels(at)pc-doctor(dot)com>
Cc: pgsql-www(at)postgresql(dot)org
Subject: Re: Correction for the Binary Replication Tutorial
Date: 2011-01-15 22:28:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-www

> I was following your 5 minutes to Simple Replication tutorial found here
> imple_Replication, and I notice a mistake. 
> In step 3 you state that the recovery.conf should be placed in the same
> directory that the postgres.conf file is located. While the official
> documentation states to put the recovery.conf in your ${PG_DATA}
> directory, which in the case of your tutorial is /var/lib/postgresql/data,
> where as the postgres.conf file lives at /etc/postgres/path/postgres.conf
> . I understand if your setup is different than mine, but you might want to
> make a note of this on the tutorial.

Actually, I *do* make such a note:

"This 6-step guide, and all of the examples in this tutorial, assume
that you have a master server at and a standby server at and that your database and its configuration files are
installed at /var/lib/postgresql/data. Replace those with whatever your
actual server addresses and directories are."

Are you saying that you put recovery.conf in your PGDATA directory and
it didn't work, or that you put it in your PGCONF directory and it
didn't work?

Anyway, the tutorial is on a *wiki*, so you should go there both to make
edits, and to add notes and questions on the [Discussion] page.

                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.

In response to


pgsql-www by date

Next:From: Stefan KaltenbrunnerDate: 2011-01-16 12:47:34
Subject: Re: [HACKERS] Maintenance downtime for and
Previous:From: Magnus HaganderDate: 2011-01-15 09:49:17
Subject: Re: [DOCS] Documentation Navigation Feedback

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group