Re: verify checksums online

From: Michael Banck <mbanck(at)gmx(dot)net>
To: Jeremy Schneider <schneider(at)ardentperf(dot)com>
Cc: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: verify checksums online
Date: 2025-04-23 15:27:25
Message-ID: 680906dd.df0a0220.28565a.51ff@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Fri, Apr 18, 2025 at 03:18:26PM -0700, Jeremy Schneider wrote:
> On Fri, 18 Apr 2025 17:32:19 -0400
> Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
>
> > On Fri, Apr 18, 2025 at 5:18 PM Jeremy Schneider
> > <schneider(at)ardentperf(dot)com> wrote:
> >
> > > i think there had been some mailing list discussions years ago? the
> > > pg_checksum utility in core still can't do an online check right?
> >
> > https://www.postgresql.org/docs/17/app-pgchecksums.html
> >
> > "The server must be shut down cleanly before running pg_checksums."
>
> Yes I read the docs. This utility has evolved over time including a
> complete rename, and I was just doublechecking here that we didn't miss
> a doc update in case this sentence applied to enable/disable but not to
> verify. As I said I'm assuming it's all accurate but just doing the
> paranoid double-check

I proposed a patch some years ago but it was rejected or at least not
accepted without major changes[1]. There is an external version of
pg_checksums which can do online checksums verification here (using the
above patch): https://github.com/credativ/pg_checksums

Michael

[1] https://commitfest.postgresql.org/patch/1733/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2025-04-23 15:37:53 Re: Feature Proposal: Column-Level DELETE Operation in SQL
Previous Message David G. Johnston 2025-04-23 13:48:03 Re: Another documentation issue