pg_set_error_context_visibility
Determines the visibility of the context's error messages returned by pg_last_error
and pg_result_error
&reftitle.description;
intpg_set_error_context_visibility
PgSql\Connectionconnection
intvisibility
Determines the visibility of the context's error messages returned by pg_last_error
and pg_result_error
&reftitle.parameters;
connection
&pgsql.parameter.connection;
visibility
The required visibility: PGSQL_SHOW_CONTEXT_NEVER,
PGSQL_SHOW_CONTEXT_ERRORS
or PGSQL_SHOW_CONTEXT_ALWAYS.
&reftitle.returnvalues;
The previous visibility level: PGSQL_SHOW_CONTEXT_NEVER,
PGSQL_SHOW_CONTEXT_ERRORS
or PGSQL_SHOW_CONTEXT_ALWAYS.
&reftitle.examples;
pg_set_error_context_visibility example
]]>
&reftitle.seealso;
pg_last_error
pg_result_error