pg_ErrorMessage

Syntax

string pg_ErrorMessage(int connection);

Popis

Príkaz jazyka PHP
pg_ErrorMessage - error message

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.