Re: BUG #17271: Updating enum columns type fails when constraints exist - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17271: Updating enum columns type fails when constraints exist
Date
Msg-id 322345.1636036958@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #17271: Updating enum columns type fails when constraints exist  (Amaury Dumoulin <amaury@castordoc.com>)
List pgsql-bugs
Amaury Dumoulin <amaury@castordoc.com> writes:
> I believe it should fail.
> However the error message should state that the constraint is blocking the
> operation.
> The current error message makes it hard to make a connection to the culprit.

Hmm, that's a reasonable concern, though you didn't make it clear that
that was what you were on about.  We could possibly provide an addendum
like "CONTEXT: while processing constraint foo" in this situation.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17271: Updating enum columns type fails when constraints exist
Next
From: Maxim Boguk
Date:
Subject: Re: BUG #17268: Possible corruption in toast index after reindex index concurrently