From: Ganesh Korde <ganeshakorde@gmail.com>
To: Ankush Chawla <ankushchawla03@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: hot standby in Postgresql 12
Date: Tue, 19 Jan 2021 14:49:37 +0530
Message-ID: <CAPNyb0Wi77y4Z1Fb8OM5w8S7oCo2P8aLD1_PhP2tRdvjhePE6Q@mail.gmail.com> (raw)
In-Reply-To: <CAOY8JhBPpZ8JvZ8PGUzAbpz17Ra4yJ4w1s=oja0qzsY3sHdSOg@mail.gmail.com>
References: <CAOY8JhBPpZ8JvZ8PGUzAbpz17Ra4yJ4w1s=oja0qzsY3sHdSOg@mail.gmail.com>
Looks like you have mentioned "hot_standby= on" on both places i.e
recovery.conf and postgresql.conf. keep it at only one place and check.
On Tue, 19 Jan 2021, 8:51 am Ankush Chawla, <ankushchawla03@gmail.com>
wrote:
> Preparing hot standby in PostgreSQL 12
>
> I have created a standby.signal file and added the parameter
> hot_standby='on' in postgresql.conf file but i am still not able to query
> the standby database
> Database is not getting open for reading.
>
> postgres@ip-172-31-31-150:/u01/db10/pg_wal> psql -p 5490
> psql: error: FATAL: the database system is starting up
>
> --
> Best Regards,
> Ankush Chawla
>
>
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: ganeshakorde@gmail.com, ankushchawla03@gmail.com
Subject: Re: hot standby in Postgresql 12
In-Reply-To: <CAPNyb0Wi77y4Z1Fb8OM5w8S7oCo2P8aLD1_PhP2tRdvjhePE6Q@mail.gmail.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