File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.210 2003/05/28 16:03:56 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.211 2003/05/29 00:54:42 tgl Exp $
12
12
*
13
13
*
14
14
* INTERFACE ROUTINES
@@ -1602,6 +1602,10 @@ IndexBuildHeapScan(Relation heapRelation,
1602
1602
1603
1603
MemoryContextReset (econtext -> ecxt_per_tuple_memory );
1604
1604
1605
+ /* Set up for predicate or expression evaluation */
1606
+ if (slot )
1607
+ ExecStoreTuple (heapTuple , slot , InvalidBuffer , false);
1608
+
1605
1609
/*
1606
1610
* In a partial index, discard tuples that don't satisfy the
1607
1611
* predicate. We can also discard recently-dead tuples, since
@@ -1612,7 +1616,6 @@ IndexBuildHeapScan(Relation heapRelation,
1612
1616
{
1613
1617
if (!tupleIsAlive )
1614
1618
continue ;
1615
- ExecStoreTuple (heapTuple , slot , InvalidBuffer , false);
1616
1619
if (!ExecQual (predicate , econtext , false))
1617
1620
continue ;
1618
1621
}
You can’t perform that action at this time.
0 commit comments