pg_set_error_context_visibility

Supported Versions: PHP 8 >= 8.3.0
Determines the visibility of the context's error messages returned by pg_last_error() and pg_result_error()
<?php pg_set_error_context_visibility(PgSql\Connection $connection, int $visibility): int