8000 Fix if macro definition for pgpro v9.6.3 · postgrespro/pg_pathman@b713569 · GitHub
[go: up one dir, main page]

Skip to content
< 8000 header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>

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

Appearance settings

Commit b713569

Browse files
author
Maksim Milyutin
committed
Fix if macro definition for pgpro v9.6.3
1 parent d69df58 commit b713569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ pathman_join_pathlist_hook(PlannerInfo *root,
147147
if (saved_jointype == JOIN_UNIQUE_INNER)
148148
return; /* No way to do this with a parameterized inner path */
149149

150-
#if PG_VERSION_NUM >= 90603
150+
#if defined PGPRO_VERSION && PG_VERSION_NUM >= 90603
151151
initial_cost_nestloop(root, &workspace, jointype,
152152
outer, inner, /* built paths */
153153
extra);
@@ -159,7 +159,7 @@ pathman_join_pathlist_hook(PlannerInfo *root,
159159

160160
pathkeys = build_join_pathkeys(root, joinrel, jointype, outer->pathkeys);
161161

162-
#if PG_VERSION_NUM >= 90603
162+
#if defined PGPRO_VERSION && PG_VERSION_NUM >= 90603
163163
nest_path = create_nestloop_path(root, joinrel, jointype, &workspace,
164164
extra, outer, inner,
165165
extra->restrictlist,

0 commit comments

Comments
 (0)
0