Re: Changing the state of data checksums in a running cluster

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Michael Banck <mbanck(at)gmx(dot)net>
Cc: Tomas Vondra <tomas(at)vondra(dot)me>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Changing the state of data checksums in a running cluster
Date: 2024-10-07 09:42:41
Message-ID: 8B317721-1CB7-4F82-B4DA-6B15AB1725D1@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 1 Oct 2024, at 20:55, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
>> On 1 Oct 2024, at 00:43, Michael Banck <mbanck(at)gmx(dot)net> wrote:
>>
>> Hi,
>>
>> On Mon, Sep 30, 2024 at 11:21:30PM +0200, Daniel Gustafsson wrote:
>>>> Yeah, I think a view like pg_stat_progress_checksums would work.
>>>
>>> Added in the attached version. It probably needs some polish (the docs for
>>> sure do) but it's at least a start.
>>
>> Just a nitpick, but we call it data_checksums about everywhere, but the
>> new view is called pg_stat_progress_datachecksums - I think
>> pg_stat_progress_data_checksums would look better even if it gets quite
>> long.
>
> That's a fair point, I'll make sure to switch for the next version of the
> patch.

A rebased v3 attached with that change.

--
Daniel Gustafsson

Attachment Content-Type Size
v3-0001-Support-checksum-enable-disable-in-a-running-clus.patch application/octet-stream 135.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2024-10-07 09:52:04 Re: ECPG cleanup and fix for clang compile-time problem
Previous Message Daniel Gustafsson 2024-10-07 09:37:04 Re: Enable data checksums by default