From: | Stephan Fabel <sfabel(at)hawaii(dot)edu> |
---|---|
To: | Stuart Bishop <stuart(at)stuartbishop(dot)net> |
Cc: | "List, Postgres" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Ubuntu Packages / Config Files |
Date: | 2014-05-08 20:05:35 |
Message-ID: | 536BE38F.8020205@hawaii.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Stuart,
thanks for your reply.
On 05/08/2014 12:47 AM, Stuart Bishop wrote:
> recovery.conf goes into $DATADIR, which is
> /var/lib/postgresql/9.1/main in your case. I rationalize this by
> considering it database state, rather than configuration, since
> commands like 'pg_ctl promote' or using a trigger file will mess with
> it.
Fair enough; let's change the file's extension and avoid confusion
then... ;-)
>> The problem is that recovery.conf gets ignored in this case. I can add
>> another symlink pointing to it into the data directory, for example, or
>> copy the file there, then it works, but honestly this has cost me a LOT
>> of time figuring out.
>
> Having the two, with the master in /etc, will confuse you. And quite
> possibly PostgreSQL if it needs to promote the database.
OK, I will leave only one copy of recovery.conf in $DATADIR to avoid
problems.
Thanks,
Stephan
From | Date | Subject | |
---|---|---|---|
Next Message | Anand Kumar, Karthik | 2014-05-08 20:11:39 | Re: Oracle to PostgreSQL replication |
Previous Message | David G Johnston | 2014-05-08 19:59:23 | Re: Pgpool starting problem |