Re: Use CompactAttribute more often, when possible

Chao Li <li.evan.chao@gmail.com>

From: Chao Li <li.evan.chao@gmail.com>
To: David Rowley <dgrowleyml@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-20T09:33:11Z
Lists: pgsql-hackers

Attachments


> On Oct 20, 2025, at 16:49, David Rowley <dgrowleyml@gmail.com> wrote:
> 
> On Mon, 20 Oct 2025 at 21:34, Chao Li <li.evan.chao@gmail.com> wrote:
>> I search for “TupleDescAttr”, and found more occurrences to replace. See the attached diff file.
> 
> Thanks for looking.  There was a bunch that I didn't do and tried to
> convey that in the commit message.
> 
> The diff you sent seems to contain a mix of my ones and your
> additional ones. If you can sort that out so it's just yours and
> subtract the following, which I've already decided not to do.
> 

Sorry for the stupid mistake. I initially applied your patch to a dirty branch, and I found a new occurrence to replace. Then I switched to a new branch, but forgot to “git am” your patch, that’s why my diff included your changes.

I have removed those ones that you don’t want in v2 diff.

--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

Commits

  1. Use CompactAttribute more often, when possible