Skip to content

Commit ecd810b

Browse files
committed
#133 : PgSQL [pg_trace allow to refine its trace mode via 2 new constants](php/php-src#11041)
1 parent 1839705 commit ecd810b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

data/reference/extension/pgsql/83/constants.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@
3030
}
3131
]
3232
},
33+
{
34+
"name": "PGSQL_TRACE_SUPPRESS_TIMESTAMPS",
35+
"ext_min": "8.3.0alpha1",
36+
"php_min": "8.3.0alpha1"
37+
},
38+
{
39+
"name": "PGSQL_TRACE_REGRESS_MODE",
40+
"ext_min": "8.3.0alpha1",
41+
"php_min": "8.3.0alpha1"
42+
},
3343
{
3444
"name": "PGSQL_SHOW_CONTEXT_NEVER",
3545
"ext_min": "8.3.0alpha2",

tests/Reference/Extension/PhpBundle/Pgsql/PgsqlExtensionTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ public static function setUpBeforeClass(): void
3333
'PGSQL_PIPELINE_ON',
3434
'PGSQL_PIPELINE_OFF',
3535
'PGSQL_PIPELINE_ABORTED',
36+
// depends on TRACE support (PQTRACE_SUPPRESS_TIMESTAMPS, PQTRACE_REGRESS_MODE)
37+
'PGSQL_TRACE_SUPPRESS_TIMESTAMPS',
38+
'PGSQL_TRACE_REGRESS_MODE',
3639
];
3740

3841
self::$optionalfunctions = [

0 commit comments

Comments
 (0)