Re: Nicer error when connecting to standby with hot_standby=off - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Nicer error when connecting to standby with hot_standby=off
Date
Msg-id 1010835.1616533197@sss.pgh.pa.us
Whole thread Raw
In response to Re: Nicer error when connecting to standby with hot_standby=off  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Nicer error when connecting to standby with hot_standby=off  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> FATAL:  the database system is starting up
> DETAIL:  WAL is being applied to recover from a system crash.
> or
> DETAIL:  The system is applying WAL to recover from a system crash.
> or
> DETAIL:  The startup process is applying WAL to recover from a system crash.

I don't think the postmaster has enough context to know if that's
actually true.  It just launches the startup process and waits for
results.  If somebody saw this during a normal (non-crash) startup,
they'd be justifiably alarmed.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_upgrade failing for 200+ million Large Objects
Next
From: Thomas Munro
Date:
Subject: Re: Add client connection check during the execution of the query