Re: pg_upgrade: Support for upgrading to checksums enabled

2025-04-04 Thread Robert Treat
On Thu, Apr 3, 2025 at 3:25 AM Peter Eisentraut wrote: > > On 11.03.25 11:42, Peter Eisentraut wrote: > > Here is an updated patch that works more along those lines. It adds a > > pg_upgrade option --update-checksums, which activates the code to > > rewrite the checksums. You must specify this o

Re: pg_upgrade: Support for upgrading to checksums enabled

2025-04-03 Thread Peter Eisentraut
On 11.03.25 11:42, Peter Eisentraut wrote: Here is an updated patch that works more along those lines.  It adds a pg_upgrade option --update-checksums, which activates the code to rewrite the checksums.  You must specify this option if the source and target clusters have different checksum sett

Re: pg_upgrade: Support for upgrading to checksums enabled

2025-03-11 Thread Peter Eisentraut
10 Mar 2025 18:44:30 +0100 Subject: [PATCH v2] pg_upgrade: Support for upgrading to checksums enabled When upgrading between instances with different checksum settings, the --copy (default) mode automatically sets (or unsets) the checksum on the fly. TODO: What to do about the Windows code path? -

Re: pg_upgrade: Support for upgrading to checksums enabled

2025-02-20 Thread Robert Treat
On Tue, Aug 27, 2024 at 5:57 PM Nathan Bossart wrote: > > On Mon, Aug 26, 2024 at 08:23:44AM +0200, Peter Eisentraut wrote: > > The purpose of this patch is to allow using pg_upgrade between clusters that > > have different checksum settings. When upgrading between instances with > > different ch

Re: pg_upgrade: Support for upgrading to checksums enabled

2024-08-27 Thread Nathan Bossart
On Mon, Aug 26, 2024 at 08:23:44AM +0200, Peter Eisentraut wrote: > The purpose of this patch is to allow using pg_upgrade between clusters that > have different checksum settings. When upgrading between instances with > different checksum settings, the --copy (default) mode automatically sets > (

Re: pg_upgrade: Support for upgrading to checksums enabled

2024-08-26 Thread Ilya Kosmodemiansky
Hi Peter, I've applied and tested your patch, it works at least on MacOS with meson build. A couple of thoughts about this patch inline below. On Mon, Aug 26, 2024 at 8:23 AM Peter Eisentraut wrote: > The purpose of this patch is to allow using pg_upgrade between clusters > that have different c

pg_upgrade: Support for upgrading to checksums enabled

2024-08-25 Thread Peter Eisentraut
Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 22 Aug 2024 07:56:04 +0200 Subject: [PATCH v1] pg_upgrade: Support for upgrading to checksums enabled When upgrading between instances with different checksum settings, the --copy (default) mode automatically sets (or unsets) the checksum on the