reference/pgsql/constants.xml
cb25637724c8484f777ca1377a87aa923334bd51
...
...
@@ -538,7 +538,7 @@
538
538
<varlistentry xml:id="constant.pgsql-diag-schema-name">
539
539
<term>
540
540
<constant>PGSQL_DIAG_SCHEMA_NAME</constant>
541
-
(<type>string</type>)
541
+
(<type>int</type>)
542
542
</term>
543
543
<listitem>
544
544
<simpara>
...
...
@@ -549,7 +549,7 @@
549
549
<varlistentry xml:id="constant.pgsql-diag-table-name">
550
550
<term>
551
551
<constant>PGSQL_DIAG_TABLE_NAME</constant>
552
-
(<type>string</type>)
552
+
(<type>int</type>)
553
553
</term>
554
554
<listitem>
555
555
<simpara>
...
...
@@ -560,7 +560,7 @@
560
560
<varlistentry xml:id="constant.pgsql-diag-column-name">
561
561
<term>
562
562
<constant>PGSQL_DIAG_COLUMN_NAME</constant>
563
-
(<type>string</type>)
563
+
(<type>int</type>)
564
564
</term>
565
565
<listitem>
566
566
<simpara>
...
...
@@ -571,7 +571,7 @@
571
571
<varlistentry xml:id="constant.pgsql-diag-datatype-name">
572
572
<term>
573
573
<constant>PGSQL_DIAG_DATATYPE_NAME</constant>
574
-
(<type>string</type>)
574
+
(<type>int</type>)
575
575
</term>
576
576
<listitem>
577
577
<simpara>
...
...
@@ -582,7 +582,7 @@
582
582
<varlistentry xml:id="constant.pgsql-diag-constraint-name">
583
583
<term>
584
584
<constant>PGSQL_DIAG_CONSTRAINT_NAME</constant>
585
-
(<type>string</type>)
585
+
(<type>int</type>)
586
586
</term>
587
587
<listitem>
588
588
<simpara>
...
...
@@ -870,9 +870,74 @@
870
870
</simpara>
871
871
</listitem>
872
872
</varlistentry>
873
+
<varlistentry xml:id="constant.pgsql-show-context-never">
874
+
<term>
875
+
<constant>PGSQL_SHOW_CONTEXT_NEVER</constant>
876
+
(<type>int</type>)
877
+
</term>
878
+
<listitem>
879
+
<simpara>
880
+
To be used with <function>pg_set_error_context_visibility</function>,
881
+
the context is never shown.
882
+
Available as of PHP 8.3.0.
883
+
</simpara>
884
+
</listitem>
885
+
</varlistentry>
886
+
<varlistentry xml:id="constant.pgsql-show-context-errors">
887
+
<term>
888
+
<constant>PGSQL_SHOW_CONTEXT_ERRORS</constant>
889
+
(<type>int</type>)
890
+
</term>
891
+
<listitem>
892
+
<simpara>
893
+
To be used with <function>pg_set_error_context_visibility</function>,
894
+
the context's fields are included in error messages only.
895
+
This is the default behaviour.
896
+
Available as of PHP 8.3.0.
897
+
</simpara>
898
+
</listitem>
899
+
</varlistentry>
900
+
<varlistentry xml:id="constant.pgsql-show-context-always">
901
+
<term>
902
+
<constant>PGSQL_SHOW_CONTEXT_ALWAYS</constant>
903
+
(<type>int</type>)
904
+
</term>
905
+
<listitem>
906
+
<simpara>
907
+
To be used with <function>pg_set_error_context_visibility</function>,
908
+
the context's fields are included in error, notice and warning messages.
909
+
Available as of PHP 8.3.0.
910
+
</simpara>
911
+
</listitem>
912
+
</varlistentry>
913
+
<varlistentry xml:id="constant.pgsql-trace-suppress-timestamps">
914
+
<term>
915
+
<constant>PGSQL_TRACE_SUPPRESS_TIMESTAMPS</constant>
916
+
(<type>int</type>)
917
+
</term>
918
+
<listitem>
919
+
<simpara>
920
+
To be used with <function>pg_trace</function>,
921
+
the timestamp is not included in the trace's messages.
922
+
Available as of PHP 8.3.0.
923
+
</simpara>
924
+
</listitem>
925
+
</varlistentry>
926
+
<varlistentry xml:id="constant.pgsql-trace-regress-mode">
927
+
<term>
928
+
<constant>PGSQL_TRACE_REGRESS_MODE</constant>
929
+
(<type>int</type>)
930
+
</term>
931
+
<listitem>
932
+
<simpara>
933
+
To be used with <function>pg_trace</function>,
934
+
fields such as OIDs are included in the trace's messages.
935
+
Available as of PHP 8.3.0.
936
+
</simpara>
937
+
</listitem>
938
+
</varlistentry>
873
939
</variablelist>
874
940
</appendix>
875
-

876
941
<!-- Keep this comment at the end of the file
877
942
Local variables:
878
943
mode: sgml
879
944