Re: Should we make Bitmapsets a kind of Node?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Should we make Bitmapsets a kind of Node?
Date: 2021-02-01 23:47:58
Message-ID: 3460909.1612223278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> On Tue, 2 Feb 2021 at 09:23, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Now that commit f003a7522 did away with the partitioned_rels fields,
>> my original motivation for doing $SUBJECT is gone. It might still be
>> worth doing, but I'm not planning to tackle it right now.

> I'm not sure if the misuse of Lists to store non-Node types should be
> all that surprising.

Well, as I tried to clarify upthread, it's only a problem if the list
is a subfield of a recognized Node type. Random private data structures
can and do contain lists of $whatever. But if you put something in a
Node type then you'd better be prepared to teach backend/nodes/*.c about
it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2021-02-01 23:52:14 Re: Key management with tests
Previous Message Stephen Frost 2021-02-01 23:40:13 Re: Proposal: Save user's original authenticated identity for logging