From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Pepe TD Vo <pepevo@yahoo.com>
Cc: Amine Tengilimoglu <aminetengilimoglu@gmail.com>
Cc: Pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: how to fail over slave to master
Date: Mon, 28 Dec 2020 12:09:50 -0700
Message-ID: <EB6C684E-31DE-4C3D-A96A-3561529F9A6D@elevated-dev.com> (raw)
In-Reply-To: <611218422.3134435.1609181699910@mail.yahoo.com>
References: <984856653.599807.1609180184705.ref@mail.yahoo.com>
<984856653.599807.1609180184705@mail.yahoo.com>
<CADTdw-yhihjbQ7VEvKtqdBEUV9XEbd6fq+JfHtesF3f+Pk7Fzw@mail.gmail.com>
<611218422.3134435.1609181699910@mail.yahoo.com>
> On Dec 28, 2020, at 11:54 AM, Pepe TD Vo <pepevo@yahoo.com> wrote:
>
> Version 12 and can you show me step by step what needs to do? I found a document in version 10 to promote salve to master with pg_ctl and create recovery.conf. Recovery.conf is not existed in version 12 but in version 1.
1) The parameters that used to be set in recovery.conf are instead set in postgresql.conf in 12 & above.
2) They are set on your replica; otherwise it would not come up as a replica. They are not needed in a master.
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: scott_ribe@elevated-dev.com, pepevo@yahoo.com, aminetengilimoglu@gmail.com
Subject: Re: how to fail over slave to master
In-Reply-To: <EB6C684E-31DE-4C3D-A96A-3561529F9A6D@elevated-dev.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