Re: Does PostgreSQL check database integrity at startup? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Does PostgreSQL check database integrity at startup?
Date
Msg-id 20171227164746.hnoqqxefp5abzjwz@alvherre.pgsql
Whole thread Raw
Responses Re: Does PostgreSQL check database integrity at startup?
List pgsql-general
Stephen Frost wrote:

> * Edson Carlos Ericksson Richter (richter@simkorp.com.br) wrote:

> > Anyway, instead digging into rsync functionality (or bugs - I doubt,
> > but who knows?), I do prefer to have a script I can run to check if
> > there is obvious failures in standby servers.
> 
> As mentioned, zero-byte files can be perfectly valid.  PostgreSQL does
> have page-level CRCs, if you initialized your database with them (which
> I would strongly recommend).

Page-level checksums would not detect the problem being complained in
this thread, however.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-general by date:

Previous
From: "Michelle Konzack"
Date:
Subject: [OT] subscribtion with no-mail option?
Next
From: Stephen Frost
Date:
Subject: Re: Does PostgreSQL check database integrity at startup?