pg_errormessage

(PHP3 , PHP4 )

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.


Hosted by Tonec Inc.