mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Remove un-needed braces around single statements.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.31 1998/04/27 04:05:41 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.32 1998/06/15 19:28:20 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -804,9 +804,7 @@ ExecOpenIndices(Oid resultRelationOid,
|
||||
pfree(predString);
|
||||
}
|
||||
else
|
||||
{
|
||||
predicate = NULL;
|
||||
}
|
||||
|
||||
/* ----------------
|
||||
* save the index information into lists
|
||||
@ -916,9 +914,7 @@ ExecOpenIndices(Oid resultRelationOid,
|
||||
|
||||
i = 0;
|
||||
foreach(indexpreds, predList)
|
||||
{
|
||||
indexInfoArray[i++]->ii_Predicate = lfirst(indexpreds);
|
||||
}
|
||||
/* ----------------
|
||||
* store the index info array into relation info
|
||||
* ----------------
|
||||
@ -1117,9 +1113,7 @@ ExecInsertIndexTuples(TupleTableSlot *slot,
|
||||
if (predicate != NULL)
|
||||
{
|
||||
if (econtext == NULL)
|
||||
{
|
||||
econtext = makeNode(ExprContext);
|
||||
}
|
||||
econtext->ecxt_scantuple = slot;
|
||||
|
||||
/* Skip this index-update if the predicate isn't satisfied */
|
||||
|
Reference in New Issue
Block a user