Improve CHECK failure message - Mailing list pgsql-patches

From Christopher Kings-Lynne
Subject Improve CHECK failure message
Date
Msg-id GNELIHDDFBOCMGBFGEFOMEHGCDAA.chriskl@familyhealth.com.au
Whole thread Raw
Responses Re: Improve CHECK failure message  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Improve CHECK failure message  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Change messages like this:

ERROR:  ExecInsert: rejected due to CHECK constraint insert_con

To be like this:

ERROR:  ExecInsert: rejected due to CHECK constraint "insert_con" on
"insert_tbl"

Updated regression tests to match.

I got sick of seeing 'rejected due to CHECK constraint "$1" in my log and
not being able to find the bug in our website code...

Chris

Attachment

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: int64 timestamp patch for contrib/pg_controldata
Next
From: Thomas Lockhart
Date:
Subject: Re: int64 timestamp patch for contrib/pg_controldata