Returning Error Code using PHP and POSTGRES
Posted: Tue Dec 02, 2003 4:26 am
More for my information than requiring it at this moment...
The postgresSQL manual indicates that you should try to obtain error codes rather than error messages. (I currently always use pg_last_error which returns the error message).
Is there any way to get the error code ?
This would be more useful for Internationalisation.
Regards
Mark
The postgresSQL manual indicates that you should try to obtain error codes rather than error messages. (I currently always use pg_last_error which returns the error message).
Is there any way to get the error code ?
This would be more useful for Internationalisation.
Regards
Mark