PG error handling
[email protected] ("azoulay, uri")
| Newsgroups | perl.dbd.pg |
|---|---|
| Message-ID | <F8B9B12641FB6B4FAC761BDEF9D63B040E1EF1E2@tlv-ex-01.adprod.bmc.com> |
Hi, I'm new to PG (not 2 Perl). Is there a way to distinguish the error I get from various methods (eg. connect) besides parsing the text? I try few connect errors (wrong user, wrong port) and the error code returned is 1 (DBI::err) and state is 25P01 (DBI::state) and the error string is vary. Thanks, Uri.