Thank you, Scott. That's interesting to know about. It doesn't solve my initial problem, though, because the C++ application was written without transactions. (Yet another illustration of the lack of database knowledge on the part of the initial developers.) RobR -----Original Message----- From: Scott Marlowe [mailto:scott.marlowe@xxxxxxxxx] Sent: Friday, October 03, 2008 4:59 PM To: Rob Richardson Cc: pgsql-general@xxxxxxxxxxxxxx Subject: Re: [GENERAL] How do I save data and then raise an exception? On Fri, Oct 3, 2008 at 1:48 PM, Rob Richardson <Rob.Richardson@xxxxxxxxxxx> wrote: > I didn't see anything in the documentation about deferred constraints. > Can you point to someplace where I can read about them? http://www.postgresql.org/docs/8.3/static/sql-createtable.html