pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: David Steele <david@pgmasters.net>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Edson Carlos Ericksson Richter <richter@simkorp.com.br>
Cc: Martin Marques <martin.marques@2ndquadrant.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Does PostgreSQL check database integrity at startup?
Date: Tue, 26 Dec 2017 18:58:47 -0300
Message-ID: <20171226215847.7elei2bexrfin2rs@alvherre.pgsql> (raw)
In-Reply-To: <3e608a5a-108f-38ad-291c-85447dd9a349@pgmasters.net>

David Steele wrote:

> pgBackRest will validate all page checksums (including indexes, etc.) in the
> cluster during backup.  Full backups check everything, incr/differential
> backups check only the files that have changed.

If a table or index file is of zero length when backed up, as in the
described case, nothing will be checked, right?  I mean, there is
nothing externally indicating that the file ought to be of a different
size.  Am I wrong?  So Edson's situation here would not raise any red
flags.

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




view thread (51+ messages)  latest in thread

Message-ID: <20171226215847.7elei2bexrfin2rs@alvherre.pgsql>
Permalink:  ../20171226215847.7elei2bexrfin2rs@alvherre.pgsql/
Also on:    postgresql.org/message-id/20171226215847.7elei2bexrfin2rs@alvherre.pgsql

 · 

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: alvherre@alvh.no-ip.org, david@pgmasters.net, pavel.stehule@gmail.com, richter@simkorp.com.br, martin.marques@2ndquadrant.com
  Subject: Re: Does PostgreSQL check database integrity at startup?
  In-Reply-To: <20171226215847.7elei2bexrfin2rs@alvherre.pgsql>
  References: <3e608a5a-108f-38ad-291c-85447dd9a349@pgmasters.net> <20171226215847.7elei2bexrfin2rs@alvherre.pgsql>

* 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