470,815 Members | 1,259 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

DBD::Pg Err / Errstr

Hi,
I am using DBD::Pg in some of my scripts. I want to customize the error
login based on the error received.
While I am happy with the Errstr message I want to take specific actions
depending on Errstr or Err.

Is there a list of all available error number (err) with associated
error message (errstr) that is produced by postgres?

Is there something similar for JDBC ?

I am particular interested in the errors for
- insert a duplicate key entry into unique index
- referential integrity violation

Thanks
Alex


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 12 '05 #1
0 1047

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Pablo S | last post: by
reply views Thread by Envex Developments | last post: by
reply views Thread by Envex Developments | last post: by
10 posts views Thread by Ausrack Webmaster | last post: by
4 posts views Thread by Patrick Hatcher | last post: by
2 posts views Thread by David Siebert | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.