pg_set_error_verbosity() determines the verbosity of messages returned by pg_last_error() and pg_result_error(). The verbosity can be one of three constants: PGSQL_ERRORS_TERSE, PGSQL_ERRORS_DEFAULT or PGSQL_ERRORS_VERBOSE.
pg_set_error_verbosity() will return the connection previous verbosity.
Note : This function requires PostgreSQL 7.4 or higher. Changing the verbosity in this manner will only affect future results, existing result objects will be unchanged.
Précédent | Sommaire | Suivant |
pg_set_client_encoding | Niveau supérieur | pg_trace |