Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4815a2c

Browse files
author
Marina Polyakova
committed
Merge remote-tracking branch 'origin/PGPRO-7287-2'
2 parents e939296 + db83c70 commit 4815a2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pg_pathman.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,13 @@ _PG_init(void)
368368
init_partition_overseer_static_data();
369369

370370
#if defined(PGPRO_EE) && PG_VERSION_NUM >= 100000
371+
#if PG_VERSION_NUM >= 150000
371372
/* Callbacks for reload relcache for ATX transactions */
373+
PgproRegisterXactCallback(pathman_xact_cb, NULL, XACT_EVENT_KIND_VANILLA | XACT_EVENT_KIND_ATX);
374+
#else
372375
RegisterXactCallback(pathman_xact_cb, NULL);
373376
#endif
377+
#endif
374378
}
375379

376380
#if PG_VERSION_NUM >= 150000 /* for commit 4f2400cb3f10 */

0 commit comments

Comments
 (0)