getting all constraint violations - Mailing list pgsql-general

From Gauthier, Dave
Subject getting all constraint violations
Date
Msg-id 482E80323A35A54498B8B70FF2B879800458B88674@azsmsx504.amr.corp.intel.com
Whole thread Raw
Responses Re: getting all constraint violations  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: getting all constraint violations  (Merlin Moncure <mmoncure@gmail.com>)
Re: getting all constraint violations  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

Hi:

 

I have a table with many constraints.  A user tries to insert a record that violates many of them.  The error message I get back lists the first violation. How cani I (or can I) get them all?

 

I’m running 8.3.4 on linux, running through perl/DBI, getting the error message from $dbh->errstr.

 

Thanks in Advance for any help :-)

pgsql-general by date:

Previous
From: erobles
Date:
Subject: cleaning wal files from postgres
Next
From: "A. Kretschmer"
Date:
Subject: Re: getting all constraint violations