"Roopeshakumar Narayansa Shalgar (rshalgar)" <rshalgar@cisco.com> writes: > HI, > PQerrorMessage pirints the error message like (no space available,etc). Does postgres provide > any API which gives the error code listed in the below appendix; > http://www.postgresql.org/docs/9.1/static/errcodes-appendix.html Use PQresultErrorField(..., PG_DIAG_SQLSTATE) http://www.postgresql.org/docs/9.3/static/libpq-exec.html#LIBPQ-EXEC-MAIN regards, tom lane
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных