Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteabe2a8

Browse files
author
Anton Voloshin
committed
Use proper ifdef to get ExecInitUpdateProjection's name
updating the previous commit.
1 parentc76321a commiteabe2a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/partition_router.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ partition_router_exec(CustomScanState *node)
254254

255255
/* Initialize projection info if first time for this table. */
256256
if (unlikely(!rri->ri_projectNewInfoValid))
257-
#ifPG_VERSION_NUM >=150000/* after PGPRO-7123 */
257+
#ifdefPG_HAVE_PGPRO_EXEC_INIT_UPDATE_PROJECTION
258258
PgproExecInitUpdateProjection(state->mt_state,rri);
259259
#else
260260
ExecInitUpdateProjection(state->mt_state,rri);
261-
#endif/*PG_VERSION_NUM >= 150000 ... else */
261+
#endif/*!PG_HAVE_PGPRO_EXEC_INIT_UPDATE_PROJECTION */
262262

263263
old_slot=rri->ri_oldTupleSlot;
264264
/* Fetch the most recent version of old tuple. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp