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

Commitf3707d0

Browse files
committed
Fix stupid oversight :-(
1 parent7c7139c commitf3707d0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/backend/catalog/index.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* 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 $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -1602,6 +1602,10 @@ IndexBuildHeapScan(Relation heapRelation,
16021602

16031603
MemoryContextReset(econtext->ecxt_per_tuple_memory);
16041604

1605+
/* Set up for predicate or expression evaluation */
1606+
if (slot)
1607+
ExecStoreTuple(heapTuple,slot,InvalidBuffer, false);
1608+
16051609
/*
16061610
* In a partial index, discard tuples that don't satisfy the
16071611
* predicate. We can also discard recently-dead tuples, since
@@ -1612,7 +1616,6 @@ IndexBuildHeapScan(Relation heapRelation,
16121616
{
16131617
if (!tupleIsAlive)
16141618
continue;
1615-
ExecStoreTuple(heapTuple,slot,InvalidBuffer, false);
16161619
if (!ExecQual(predicate,econtext, false))
16171620
continue;
16181621
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp