Re: Improve CHECK failure message

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Improve CHECK failure message
Date: 2002-08-03 01:07:54
Message-ID: 200208030107.g7317sd07787@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Christopher Kings-Lynne wrote:
> 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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-03 16:00:46 Updated CHECK failed message patch
Previous Message Tom Lane 2002-08-02 18:45:16 Re: [HACKERS] DROP COLUMN round 4