Re: Use CompactAttribute more often, when possible

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Use CompactAttribute more often, when possible
Date: 2025-10-21 22:38:41
Message-ID: CAApHDvpyzwBhZEa68pwu3YHDhjAEC2pSMCvtsE2CyjcW7=r6Cg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 20 Oct 2025 at 21:43, David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
>
> On Mon, 20 Oct 2025 at 21:15, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> >
> > On Mon, Oct 20, 2025 at 05:46:33PM +1300, David Rowley wrote:
> > @@ -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?

> We don't put system attributes in TupleDescs so I put that check down
> to misguided programming.

Thank you for reviewing this. Now pushed.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2025-10-21 22:51:41 Re: POC: enable logical decoding when wal_level = 'replica' without a server restart
Previous Message Jim Jones 2025-10-21 22:18:25 Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement