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 0ef5121b-f0e8-49f3-9810-3a349c174c6b@app.fastmail.com
Whole thread Raw
In response to ALTER TABLE ALTER CONSTRAINT misleading error message  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
On 2025-06-27, Fujii Masao wrote:

> To make this distinction, I just started thinking it's better to raise 
> the error
> in ATExecAlterConstraint() rather than in gram.y. I've attached a draft 
> patch that
> follows this approach.

Hmm I don't like this very much, it feels very kludgy. I think if we want to consider this in scope for pg18 I would
muchprefer to use the patch I mentioned near the beginning of the thread.
 



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: PG18 protocol version
Next
From: Timur Magomedov
Date:
Subject: Re: [WIP]Vertical Clustered Index (columnar store extension) - take2