pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Harinath Kanchu <hkanchu@apple.com>
To: pgsql-general@lists.postgresql.org
Subject: Any way to understand state after data corruption failures during startup.
Date: Thu, 16 Jun 2022 19:46:25 -0700
Message-ID: <9AAF8A3E-560D-4EEC-8828-92636B356777@apple.com> (raw)

Hello,

If postgres fail when it is starting as standby due to WAL file corruption, can we get the status through any exit code or by parsing pg_control file ?

I can see the  “XX001” code is emitted in logs but parsing logs doesn’t seem to be a good option. Please suggest.

Thanks.






view thread (2+ messages)  latest in thread

Message-ID: <9AAF8A3E-560D-4EEC-8828-92636B356777@apple.com>
Permalink:  ../9AAF8A3E-560D-4EEC-8828-92636B356777@apple.com/
Also on:    postgresql.org/message-id/9AAF8A3E-560D-4EEC-8828-92636B356777@apple.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hkanchu@apple.com
  Subject: Re: Any way to understand state after data corruption failures during startup.
  In-Reply-To: <9AAF8A3E-560D-4EEC-8828-92636B356777@apple.com>
  References: <9AAF8A3E-560D-4EEC-8828-92636B356777@apple.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