From 7d3668e8827b211a2f8da02b68af8fce14d09896 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Tue, 14 Nov 2023 06:37:15 +0000 Subject: [PATCH 1/3] [PHP 8.3] pgsql constants update --- reference/pgsql/constants.xml | 72 +++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/reference/pgsql/constants.xml b/reference/pgsql/constants.xml index 70e2eeefe68d..df3847e9135a 100644 --- a/reference/pgsql/constants.xml +++ b/reference/pgsql/constants.xml @@ -870,6 +870,78 @@ + + + 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 (default). + 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, the connection is in pipeline mode + Available as of PHP 8.3.0. + + + + + + PGSQL_PIPELINE_OFF + (int) + + + + Returned by pg_pipeline_status, the connection is not in pipeline mode + Available as of PHP 8.3.0. + + + + + + PGSQL_PIPELINE_ABORTED + (int) + + + + Returned by pg_pipeline_status, the connection is in pipeline and an error occurred. + Available as of PHP 8.3.0. + + +