We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76321a commit eabe2a8Copy full SHA for eabe2a8
src/partition_router.c
@@ -254,11 +254,11 @@ partition_router_exec(CustomScanState *node)
254
255
/* Initialize projection info if first time for this table. */
256
if (unlikely(!rri->ri_projectNewInfoValid))
257
-#if PG_VERSION_NUM >= 150000 /* after PGPRO-7123 */
+#ifdef PG_HAVE_PGPRO_EXEC_INIT_UPDATE_PROJECTION
258
PgproExecInitUpdateProjection(state->mt_state, rri);
259
#else
260
ExecInitUpdateProjection(state->mt_state, rri);
261
-#endif /* PG_VERSION_NUM >= 150000 ... else */
+#endif /* !PG_HAVE_PGPRO_EXEC_INIT_UPDATE_PROJECTION */
262
263
old_slot = rri->ri_oldTupleSlot;
264
/* Fetch the most recent version of old tuple. */
0 commit comments