pg_set_error_verbosity()
pg_set_error_verbosity - Determines the verbosity of messages returned bypg_last_error()
and
pg_result_error()
.
Syntax
int pg_set_error_verbosity (resource $connection, int $verbosity)Arguments
- connection - PostgreSQL database connection resource. When connection is not present, the default connection is used. The default connection is the last connection made by pg_connect() or pg_pconnect().
- verbosity - The required verbosity: PGSQL_ERRORS_TERSE, PGSQL_ERRORS_DEFAULT or PGSQL_ERRORS_VERBOSE.
