Re: Use CompactAttribute more often, when possible - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Use CompactAttribute more often, when possible
Date
Msg-id aPXvpi2UVkfGGL_m@paquier.xyz
Whole thread Raw
In response to Use CompactAttribute more often, when possible  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Use CompactAttribute more often, when possible
List pgsql-hackers
On Mon, Oct 20, 2025 at 05:46:33PM +1300, David Rowley wrote:
> I don't think the attached is very interesting to look at, but l'll
> leave it here for a bit just in case anyone wants to look. Otherwise,
> I plan to just treat it as a follow-up of 5983a4cff.

Still I've looked at it.  I like reading code.

The change in validateDomainCheckConstraint()@typecmds.c looks
independent to what you are suggesting here.  Grouping that is fine,
just noting that the intent is not the same.

@@ -5146,10 +5146,6 @@ ReorderBufferToastReplace(ReorderBuffer *rb, ReorderBufferTXN *txn,
         dlist_iter    it;
         Size        data_done = 0;

-        /* system columns aren't toasted */
-        if (attr->attnum < 0)
-            continue;

Er, why this removal?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jakub Wartak
Date:
Subject: Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)
Next
From: Chao Li
Date:
Subject: Re: Use CompactAttribute more often, when possible