From: | Aleksander Alekseev <aleksander(at)timescale(dot)com> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Christoph Berg <myon(at)debian(dot)org> |
Subject: | Re: Proposal: manipulating pg_control file from Perl |
Date: | 2025-03-14 14:09:50 |
Message-ID: | CAJ7c6TNFzD6GA2shjbXQ-MYrcArWWFwjchFwe1z1rUJ3pU+MaA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Christoph,
> Re: Aleksander Alekseev
> > 1) Provide a tool written in C that allows changing pg_control, e.g.
> > `pg_writecontoldata` or maybe a flat like `pg_controldata -w`.
>
> I thought we already had pg_resetwal for that.
That's a good point.
In the case I referred to [1] however I wanted to manipulate more
fields than pg_resetwal currently allows, e.g. catalog version -
which, as Tom pointed out, is a controversial thing to do in a TAP
test.
Do you think pg_resetwall should be able to do more than it currently
does, or merely pointing out that we already have a tool for editing
pg_control file?
73s de Alex, R2AUK
[1]: https://postgr.es/m/CAJ7c6TOy7fUW9MuNeOWor3cSFnQg9tgz%3DmjXHDb94GORtM_Eyg%40mail.gmail.com
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2025-03-14 14:16:50 | Re: like pg_shmem_allocations, but fine-grained for DSM registry ? |
Previous Message | Daniel Gustafsson | 2025-03-14 14:06:52 | Re: Changing the state of data checksums in a running cluster |