Skip to content

Commit e37bec3

Browse files
committed
Ignore paths temporarily
1 parent 70c064d commit e37bec3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pg_pathman.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,8 @@ pull_var_param(const WalkerContext *ctx,
12031203
(Var *) ((RelabelType *) left)->arg;
12041204

12051205
/* Check if 'v' is partitioned column of 'prel' */
1206-
if (v->varoattno == ctx->prel->attnum &&
1206+
/* FIX this */
1207+
if (v->varoattno == 0 &&
12071208
v->varno == ctx->prel_varno)
12081209
{
12091210
*var_ptr = left;
@@ -1220,7 +1221,8 @@ pull_var_param(const WalkerContext *ctx,
12201221
(Var *) ((RelabelType *) right)->arg;
12211222

12221223
/* Check if 'v' is partitioned column of 'prel' */
1223-
if (v->varoattno == ctx->prel->attnum &&
1224+
/* FIX this */
1225+
if (v->varoattno == 0 &&
12241226
v->varno == ctx->prel_varno)
12251227
{
12261228
*var_ptr = right;

0 commit comments

Comments
 (0)