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

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)