Re: patch for 9.2: enhanced errors
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Josh Berkus" <josh@agliodbs.com>
Cc: <pgsql-hackers@postgresql.org>,"Tom Lane" <tgl@sss.pgh.pa.us>
Date: 2011-07-18T21:13:42Z
Lists: pgsql-hackers
Josh Berkus <josh@agliodbs.com> wrote: > I'm less concerned about the standard here and more concerned > about what helps our users. Having column names for an FK error > is *extremely* useful for troubleshooting, particularly if the > database has been upgraded from the 7.4 days and has non-useful FK > names like "$3". If it gives a FK constraint name, isn't there a way to get from that to the columns used by the constraint? If we want to support something non-standard, we can always tell them to look at the text of the error detail, right? -Kevin