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

From Álvaro Herrera
Subject Re: ALTER TABLE ALTER CONSTRAINT misleading error message
Date
Msg-id 202507030931.rlhp2wzdtnhc@alvherre.pgsql
Whole thread Raw
In response to Re: ALTER TABLE ALTER CONSTRAINT misleading error message  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-hackers
On 2025-Jul-03, Fujii Masao wrote:

> If we go with it, I’m slightly inclined to add [ ENFORCED ] to
> the CREATE TRIGGER syntax in the docs. Without that, users might be confused
> or raise concerns that CREATE CONSTRAINT TRIGGER accepts an option
> (i.e., ENFORCED) that isn't actually documented in the syntax.
> But if you think this is overkill, I'm ok not to update the syntax in the docs.

Yeah, makes sense.  We document noise words for other commands as well,
so I added that and pushed.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Every machine is a smoke machine if you operate it wrong enough."
https://twitter.com/libseybieda/status/1541673325781196801



pgsql-hackers by date:

Previous
From: Andrei Lepikhov
Date:
Subject: Re: MergeJoin beats HashJoin in the case of multiple hash clauses
Next
From: shveta malik
Date:
Subject: Re: Logical Replication of sequences