Skip to content

Commit bcf2424

Browse files
committed
[PGPRO-7742] Use PgproRegisterXactCallback for all EE-versions
Tags: pg_pathman
1 parent 4815a2c commit bcf2424

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/pg_pathman.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,9 @@ _PG_init(void)
367367
init_partition_router_static_data();
368368
init_partition_overseer_static_data();
369369

370-
#if defined(PGPRO_EE) && PG_VERSION_NUM >= 100000
371-
#if PG_VERSION_NUM >= 150000
370+
#ifdef PGPRO_EE
372371
/* Callbacks for reload relcache for ATX transactions */
373372
PgproRegisterXactCallback(pathman_xact_cb, NULL, XACT_EVENT_KIND_VANILLA | XACT_EVENT_KIND_ATX);
374-
#else
375-
RegisterXactCallback(pathman_xact_cb, NULL);
376-
#endif
377373
#endif
378374
}
379375

0 commit comments

Comments
 (0)