Re: bogus error message for ALTER TABLE ALTER CONSTRAINT - Mailing list pgsql-hackers

From Amul Sul
Subject Re: bogus error message for ALTER TABLE ALTER CONSTRAINT
Date
Msg-id CAAJ_b94QgbscAETvo7Dgq7BtCyLRSd0QLS9TRjruomVDUjJo+g@mail.gmail.com
Whole thread Raw
In response to Re: bogus error message for ALTER TABLE ALTER CONSTRAINT  (Álvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: bogus error message for ALTER TABLE ALTER CONSTRAINT
List pgsql-hackers
On Mon, Mar 10, 2025 at 11:29 PM Álvaro Herrera <alvherre@alvh.no-ip.org> wrote:
>
> Hello,
>
> I fleshed this out more fully and I think 0001 is good enough to commit.
>

The approach looks good to me, but instead of adding a CAS_flags struct, could
we use macros like SEEN_DEFERRABILITY(bits), SEEN_ENFORCEABILITY(bits),
etc.? We can simply pass cas_bits to these macros, and to avoid the error
from processCASbits(), we can pass NULL for constrType.


Regards,
Amul



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Documentation Edits for pg_createsubscriber
Next
From: Naga Appani
Date:
Subject: Re: [Proposal] Expose internal MultiXact member count function for efficient monitoring