Skip to content

Commit e3675a6

Browse files
author
Marina Polyakova
committed
Merge remote-tracking branch 'origin/PGPRO-7287-2'
2 parents 43aac50 + c7e5586 commit e3675a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pg_variables.c

+4
Original file line numberDiff line numberDiff line change
@@ -2953,7 +2953,11 @@ _PG_init(void)
29532953
NULL,
29542954
NULL);
29552955

2956+
#if defined(PGPRO_EE) && (PG_VERSION_NUM >= 150000)
2957+
PgproRegisterXactCallback(pgvTransCallback, NULL, XACT_EVENT_KIND_VANILLA | XACT_EVENT_KIND_ATX);
2958+
#else
29562959
RegisterXactCallback(pgvTransCallback, NULL);
2960+
#endif
29572961
RegisterSubXactCallback(pgvSubTransCallback, NULL);
29582962

29592963
/* Install hooks. */

0 commit comments

Comments
 (0)