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

Lines changed: 4 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy