Jump to content

[SOLVED] PHP PG Error Functions


Recommended Posts



I'm looking for a way to trap postgres errors.  I am using the pg_result_error function.  It returns the sql error, however it does not return the script and the line number of the error.  Neither does the pg_result_error_field function.  Is there any way to return a message similar to the pg_execute function?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.