Re: Disallow UPDATE/DELETE on table with unpublished generated column as REPLICA IDENTITY

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Disallow UPDATE/DELETE on table with unpublished generated column as REPLICA IDENTITY
Дата
Msg-id CAA4eK1JVcisskcW45X3a_uvL+mSiP8oTbo2a1oGDqWRKgYL2_w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Disallow UPDATE/DELETE on table with unpublished generated column as REPLICA IDENTITY  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Disallow UPDATE/DELETE on table with unpublished generated column as REPLICA IDENTITY
Список pgsql-hackers
On Thu, Dec 5, 2024 at 7:34 AM Peter Smith <smithpb2250@gmail.com> wrote:
>
> IIUC, these errors are intended for when there is *any* unpublished
> generated column found in the RI, and the RI might also have other
> columns in it generated or otherwise. So, I think those error messages
> saying "consists of" should be reworded like below, or similar:
> * errdetail("Replica identity includes an unpublished generated column.")));
> * errdetail("Replica identity has one or more unpublished generated
> columns.")));
> * errdetail("One or more unpublished generated columns are in the
> Replica identity.")));
> * ...
>

How about a bit clearer: "Replica identity must not contain any
unpublished generated column."?

--
With Regards,
Amit Kapila.



В списке pgsql-hackers по дате отправления: