Hi guys,
i am writing a simple program in c++ using postgresql.

I'd like though to handle the possible exceptions that will arise. Can u tell me where can I find these exception that postgresql provide?

I don't know if this
HTML Code:
http://www.postgresql.org/docs/8.1/static/errcodes-appendix.html#ERRCODES-TABLE
has to do with the exceptions I said. If it does, how can I use the error_codes in the c++ program?

If it doesn't, where can I find the exceptions I described and how can I use them in my program?

Thanks in advance