pg_result_error --
Get error message associated with result
Description
string pg_result_error ( resource result)
pg_result_error() returns error message
associated with result resource. Therefore,
user has better chance to get better error message than
pg_last_error().