diff --git a/reference/pgsql/constants.xml b/reference/pgsql/constants.xml index 70e2eeefe68d..90f8365a80b8 100644 --- a/reference/pgsql/constants.xml +++ b/reference/pgsql/constants.xml @@ -870,6 +870,85 @@ + + + PGSQL_SHOW_CONTEXT_NEVER + (int) + + + + To be used with pg_set_error_context_set_visibility, + the context is never shown. + Available as of PHP 8.3.0. + + + + + + PGSQL_SHOW_CONTEXT_ERRORS + (int) + + + + To be used with pg_set_error_context_set_visibility, + the context's fieds are included in error messages only. + This is the default behaviour. + Available as of PHP 8.3.0. + + + + + + PGSQL_SHOW_CONTEXT_ALWAYS + (int) + + + + To be used with pg_set_error_context_set_visibility, + the context's fieds are included in error, notice and warning messages. + Available as of PHP 8.3.0. + + + + + + PGSQL_PIPELINE_ON + (int) + + + + Returned by pg_pipeline_status, + when the connection is in pipeline mode + Available as of PHP 8.3.0. + + + + + + PGSQL_PIPELINE_OFF + (int) + + + + Returned by pg_pipeline_status, + when the connection is not in pipeline mode + Available as of PHP 8.3.0. + + + + + + PGSQL_PIPELINE_ABORTED + (int) + + + + Returned by pg_pipeline_status, + when the connection is in pipeline mode, and an error occurred. + Available as of PHP 8.3.0. + + +