session_pgsql_get_error()
(PECL session_pgsql SVN)
Returns number of errors and last error message
说明
session_pgsql_get_error([bool $with_error_message= FALSE]): arrayGet the number of errors and optional the error messages.
参数
- $with_error_message
Set to
TRUEthe literal error message for each error is also returned.
返回值
The number of errors are returned as array.
参见
session_pgsql_add_error()Increments error counts and sets last error message
