Jump to content

[SOLVED] PHP PG Error Functions


jones53084

Recommended Posts

Hi!

 

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
https://forums.phpfreaks.com/topic/126616-solved-php-pg-error-functions/
Share on other sites

Archived

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.