Re: psql: FATAL: the database system is starting up - Mailing list pgsql-general

From ascot.moss@gmail.com
Subject Re: psql: FATAL: the database system is starting up
Date
Msg-id E52CD2BE-5C59-42C7-ADFB-388AD8F18ADA@gmail.com
Whole thread Raw
In response to Re: psql: FATAL: the database system is starting up  (Haribabu kommi <haribabu.kommi@huawei.com>)
List pgsql-general
Thanks, there was a typo of the line "hot_standby", it works now, thanks again.

On 6 Aug 2013, at 6:52 PM, Haribabu kommi wrote:

>
> On 06 August 2013 16:13 ascot.moss wrote
>> Hi,
>
>> I just setup the replication in the slave again, when trying to use psql, I could not get the psql command prompt
butgot "psql: FATAL:  the database system is starting up" from it. 
>
>> PG: 9.2.4
>
>> Below is the log from the the slave:
>> LOG:  database system was shut down in recovery at 2013-08-06 18:34:44
>> LOG:  entering standby mode
>> LOG:  consistent recovery state reached at 1C/9A0F9CF0
>> LOG:  record with zero length at 1C/9A0F9CF0
>> LOG:  streaming replication successfully connected to primary
>> FATAL:  the database system is starting up
>
>> I am new to PG replication, please help.
>
> There is a configuration parameter "hot_standby" is set as on or not?
> This allows the queries during recovery.
>
> Regards,
> Hari babu.
>



pgsql-general by date:

Previous
From: KONDO Mitsumasa
Date:
Subject: Re: [HACKERS] Bottlenecks with large number of relation segment files
Next
From: Florian Weimer
Date:
Subject: Re: Bottlenecks with large number of relation segment files