Re: tablecmds.c/MergeAttributes() cleanup - Mailing list pgsql-hackers

From Robert Haas
Subject Re: tablecmds.c/MergeAttributes() cleanup
Date
Msg-id CA+Tgmoa4DTjmPQPrpoVdsJKS-=A-ZYrQge7tp1D+n4WWzKaiwg@mail.gmail.com
Whole thread Raw
In response to Re: tablecmds.c/MergeAttributes() cleanup  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Fri, Jan 12, 2024 at 10:09 AM Robert Haas <robertmhaas@gmail.com> wrote:
> Open-coding stuff like this can easily work out to a loss, and I
> personally think we're overly dependent on List. It's not a
> particularly good abstraction, IMHO, and if we do a lot of work to
> start using it everywhere because a list is really an array, then what
> happens when somebody decides that a list really ought to be a
> skip-list, or a hash table, or some other crazy thing?

This paragraph was a bit garbled. I meant to say that open-coding can
be better than relying on a canned abstraction, but it came out the
other way around.

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: the s_lock_stuck on perform_spin_delay
Next
From: Bharath Rupireddy
Date:
Subject: Re: Make all Perl warnings fatal