Improve CHECK failure message

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Improve CHECK failure message
Date: 2002-08-01 03:23:23
Message-ID: GNELIHDDFBOCMGBFGEFOMEHGCDAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
checkmsg.txt text/plain 10.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Lockhart 2002-08-01 04:43:00 Re: int64 timestamp patch for contrib/pg_controldata
Previous Message Bruce Momjian 2002-08-01 01:17:47 Re: int64 timestamp patch for contrib/pg_controldata