(PECL session_pgsql SVN)
session_pgsql_get_error — Returns number of errors and last error message
Get the number of errors and optional the error messages.
Set to TRUE the literal error message for each error is also returned.
The number of errors are returned as array .