Re: Make pg_checksums complain if compiled BLCKSZ and data folder'sblock size differ - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Make pg_checksums complain if compiled BLCKSZ and data folder'sblock size differ
Date
Msg-id CABUevEzZWBz3yjtzCOaiHJSsQsn=e2W0LT8T9j11=XFzy=p_gg@mail.gmail.com
Whole thread Raw
In response to Re: Make pg_checksums complain if compiled BLCKSZ and data folder'sblock size differ  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers


On Sun, Mar 17, 2019 at 6:47 AM Michael Paquier <michael@paquier.xyz> wrote:
On Sat, Mar 16, 2019 at 09:18:34AM +0100, Fabien COELHO wrote:
> I think it would be better to adapt the checksum computation, but this is
> indeed non trivial because of the way the BLCKSZ constant is hardwired into
> type declarations.

That's actually the possibility I was pointing out upthread.  I am not
sure that the use cases are worth the effort though.

It may be worthwhile, but I think we shouldn't target that for v12 -- consider it a potential improvement for upcoming version. Let's focus on the things we have now to make sure we get those polished and applied first.

--

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Make pg_checksums complain if compiled BLCKSZ and data folder'sblock size differ
Next
From: David Rowley
Date:
Subject: Re: using index or check in ALTER TABLE SET NOT NULL