On Mon, Oct 18, 2010 at 10:03:55AM -0400, Robert Haas wrote: > On Sun, Oct 17, 2010 at 2:03 AM, Dmitriy Igrishin <[email protected]> wrote: > > I've asked pgsql-general. > > Unfortunately it seems that there is no better way to do it except > > parsing PQerrorMessage(). Sadly. > > Yeah, doesn't look like it. A quick glance at the code reveals that a > PGresult can store individual error fields but a PGconn can store only > a message. :-(
Does this seem worth patching for 9.1? Cheers, David. -- David Fetter <[email protected]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: [email protected] iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
