pg_errormessage

(PHP 3, PHP 4 >= 4.0.0)

pg_errormessage -- Get the error message string

Description

string pg_errormessage (int connection)

Returns a string containing the error message, FALSE on failure. Details about the error probably cannot be retrieved using the pg_errormessage() function if an error occured on the last database action for which a valid connection exists, this function will return a string containing the error message generated by the backend server.



Banner.Novgorod.Ru