On Thu, Nov 26, 2026 at 5:36 PM Koshino Taiki <[email protected]> wrote:
>
> I have removed the redundant check_desc checks from both places and
> attached the updated patch.
>
Hi.

ERROR:  new row for relation "staff_sales" violates check constraint
"staff_age_check"
DETAIL:  Failing row contains (1, 15). Check constraint expression: (age >= 18).

DETAIL mention 2 different, seemingly unrelated things, which seems uncommon.
Just wondering, have you considered adding it to errhint.

ERROR:  new row for relation "staff_sales" violates check constraint
"staff_age_check"
DETAIL:  Failing row contains (1, 15).
HINT:  The row must satisfy the check constraint expression (age >= 18).



--
jian
https://www.enterprisedb.com/


Reply via email to