Re:Re: Fix incorrect column name in error message for range partition bound check

Поиск
Список
Период
Сортировка
От myzhen
Тема Re:Re: Fix incorrect column name in error message for range partition bound check
Дата
Msg-id 1f1340f1.1410.19b97dd6853.Coremail.zhenmingyang@yeah.net
обсуждение исходный текст
Ответ на Re: Fix incorrect column name in error message for range partition bound check  (zhibin wang <killerwzb@gmail.com>)
Список pgsql-hackers
Hi zhibin,

By the way, based on the context, once a column is set to MINVALUE or MAXVALUE, the values of the remaining columns must be the same. However, I noticed that 'validateInfiniteBounds' is only invoked after all boundary value transformations are completed. Perhaps we can perform the validity check for infinite boundary values earlier. In this way, we can not only avoid this error but also achieve timely "short-circuit" — because any non-MINVALUE transformation performed after MINVALUE is essentially meaningless overhead. ideas?

Thanks, I think it makes some sense, so I tried to make the second version.

Вложения

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