Re: BUG #17271: Updating enum columns type fails when constraints exist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17271: Updating enum columns type fails when constraints exist
Дата
Msg-id 322345.1636036958@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17271: Updating enum columns type fails when constraints exist  (Amaury Dumoulin <amaury@castordoc.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17271: Updating enum columns type fails when constraints exist
Следующее
От: Maxim Boguk
Дата:
Сообщение: Re: BUG #17268: Possible corruption in toast index after reindex index concurrently