On Mon, March 5, 2007 18:11, Markus Schaber wrote: > Hi, > > It seems that the sql_error exception class (as described at > http://thaiopensource.org/devprojects/libpqxx/doc/2.6.9/html/Reference/a00265.html#_details) > does not have any way to get the underlying SQL error code from > http://www.postgresql.org/docs/8.1/interactive/errcodes-appendix.html - > did I miss something?
There isn't always an underlying SQL error code, so at the moment it's not made available yet. But there is a hierarchy of exception classes to give you more information about the nature of the problem. Jeroen _______________________________________________ Libpqxx-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/libpqxx-general
