Re:Re: Fix incorrect column name in error message for range partition bound check - Mailing list pgsql-hackers

From myzhen
Subject Re:Re: Fix incorrect column name in error message for range partition bound check
Date
Msg-id 1f1340f1.1410.19b97dd6853.Coremail.zhenmingyang@yeah.net
Whole thread Raw
In response to Re: Fix incorrect column name in error message for range partition bound check  (zhibin wang <killerwzb@gmail.com>)
List 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.

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Simplify code building the LR conflict messages
Next
From: Daniil Davydov
Date:
Subject: Re: POC: Parallel processing of indexes in autovacuum