Sergey Fukanchik <[email protected]> writes: > Does libpq have an API to extract this code?
PQresultErrorField(res, PG_DIAG_SQLSTATE) should do, no?
regards, tom lane
Sergey Fukanchik <[email protected]> writes: > Does libpq have an API to extract this code?
PQresultErrorField(res, PG_DIAG_SQLSTATE) should do, no?
regards, tom lane