mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Another pgindent run. Sorry folks.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.81 1999/05/25 16:09:04 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.82 1999/05/25 22:41:11 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -371,7 +371,7 @@ _copyHashJoin(HashJoin *from)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
CopyNonameFields(Noname * from, Noname * newnode)
|
||||
CopyNonameFields(Noname *from, Noname *newnode)
|
||||
{
|
||||
newnode->nonameid = from->nonameid;
|
||||
newnode->keycount = from->keycount;
|
||||
@@ -384,7 +384,7 @@ CopyNonameFields(Noname * from, Noname * newnode)
|
||||
* ----------------
|
||||
*/
|
||||
static Noname *
|
||||
_copyNoname(Noname * from)
|
||||
_copyNoname(Noname *from)
|
||||
{
|
||||
Noname *newnode = makeNode(Noname);
|
||||
|
||||
@@ -862,7 +862,7 @@ _copyFunc(Func *from)
|
||||
* ----------------
|
||||
*/
|
||||
static Aggref *
|
||||
_copyAggref(Aggref * from)
|
||||
_copyAggref(Aggref *from)
|
||||
{
|
||||
Aggref *newnode = makeNode(Aggref);
|
||||
|
||||
@@ -907,7 +907,7 @@ _copySubLink(SubLink *from)
|
||||
* ----------------
|
||||
*/
|
||||
static CaseExpr *
|
||||
_copyCaseExpr(CaseExpr * from)
|
||||
_copyCaseExpr(CaseExpr *from)
|
||||
{
|
||||
CaseExpr *newnode = makeNode(CaseExpr);
|
||||
|
||||
@@ -929,7 +929,7 @@ _copyCaseExpr(CaseExpr * from)
|
||||
* ----------------
|
||||
*/
|
||||
static CaseWhen *
|
||||
_copyCaseWhen(CaseWhen * from)
|
||||
_copyCaseWhen(CaseWhen *from)
|
||||
{
|
||||
CaseWhen *newnode = makeNode(CaseWhen);
|
||||
|
||||
@@ -1000,7 +1000,7 @@ _copyArrayRef(ArrayRef *from)
|
||||
* -- JMH, 8/2/93
|
||||
*/
|
||||
static RelOptInfo *
|
||||
_copyRelOptInfo(RelOptInfo * from)
|
||||
_copyRelOptInfo(RelOptInfo *from)
|
||||
{
|
||||
RelOptInfo *newnode = makeNode(RelOptInfo);
|
||||
int i,
|
||||
@@ -1173,7 +1173,7 @@ _copyIndexPath(IndexPath *from)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
CopyNestPathFields(NestPath * from, NestPath * newnode)
|
||||
CopyNestPathFields(NestPath *from, NestPath *newnode)
|
||||
{
|
||||
Node_Copy(from, newnode, pathinfo);
|
||||
Node_Copy(from, newnode, outerjoinpath);
|
||||
@@ -1185,7 +1185,7 @@ CopyNestPathFields(NestPath * from, NestPath * newnode)
|
||||
* ----------------
|
||||
*/
|
||||
static NestPath *
|
||||
_copyNestPath(NestPath * from)
|
||||
_copyNestPath(NestPath *from)
|
||||
{
|
||||
NestPath *newnode = makeNode(NestPath);
|
||||
|
||||
@@ -1319,7 +1319,7 @@ _copyMergeOrder(MergeOrder *from)
|
||||
* ----------------
|
||||
*/
|
||||
static RestrictInfo *
|
||||
_copyRestrictInfo(RestrictInfo * from)
|
||||
_copyRestrictInfo(RestrictInfo *from)
|
||||
{
|
||||
RestrictInfo *newnode = makeNode(RestrictInfo);
|
||||
|
||||
@@ -1374,7 +1374,7 @@ _copyJoinMethod(JoinMethod *from)
|
||||
* ----------------
|
||||
*/
|
||||
static HashInfo *
|
||||
_copyHashInfo(HashInfo * from)
|
||||
_copyHashInfo(HashInfo *from)
|
||||
{
|
||||
HashInfo *newnode = makeNode(HashInfo);
|
||||
|
||||
@@ -1393,7 +1393,7 @@ _copyHashInfo(HashInfo * from)
|
||||
* ----------------
|
||||
*/
|
||||
static MergeInfo *
|
||||
_copyMergeInfo(MergeInfo * from)
|
||||
_copyMergeInfo(MergeInfo *from)
|
||||
{
|
||||
MergeInfo *newnode = makeNode(MergeInfo);
|
||||
|
||||
@@ -1412,7 +1412,7 @@ _copyMergeInfo(MergeInfo * from)
|
||||
* ----------------
|
||||
*/
|
||||
static JoinInfo *
|
||||
_copyJoinInfo(JoinInfo * from)
|
||||
_copyJoinInfo(JoinInfo *from)
|
||||
{
|
||||
JoinInfo *newnode = makeNode(JoinInfo);
|
||||
|
||||
@@ -1496,7 +1496,7 @@ _copyRangeTblEntry(RangeTblEntry *from)
|
||||
}
|
||||
|
||||
static RowMark *
|
||||
_copyRowMark(RowMark * from)
|
||||
_copyRowMark(RowMark *from)
|
||||
{
|
||||
RowMark *newnode = makeNode(RowMark);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.37 1999/05/25 16:09:06 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.38 1999/05/25 22:41:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -283,7 +283,7 @@ _equalFunc(Func *a, Func *b)
|
||||
* RestrictInfo is a subclass of Node.
|
||||
*/
|
||||
static bool
|
||||
_equalRestrictInfo(RestrictInfo * a, RestrictInfo * b)
|
||||
_equalRestrictInfo(RestrictInfo *a, RestrictInfo *b)
|
||||
{
|
||||
Assert(IsA(a, RestrictInfo));
|
||||
Assert(IsA(b, RestrictInfo));
|
||||
@@ -307,7 +307,7 @@ _equalRestrictInfo(RestrictInfo * a, RestrictInfo * b)
|
||||
* RelOptInfo is a subclass of Node.
|
||||
*/
|
||||
static bool
|
||||
_equalRelOptInfo(RelOptInfo * a, RelOptInfo * b)
|
||||
_equalRelOptInfo(RelOptInfo *a, RelOptInfo *b)
|
||||
{
|
||||
Assert(IsA(a, RelOptInfo));
|
||||
Assert(IsA(b, RelOptInfo));
|
||||
@@ -392,7 +392,7 @@ _equalIndexPath(IndexPath *a, IndexPath *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalNestPath(NestPath * a, NestPath * b)
|
||||
_equalNestPath(NestPath *a, NestPath *b)
|
||||
{
|
||||
Assert(IsA_JoinPath(a));
|
||||
Assert(IsA_JoinPath(b));
|
||||
@@ -477,7 +477,7 @@ _equalMergeOrder(MergeOrder *a, MergeOrder *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalHashInfo(HashInfo * a, HashInfo * b)
|
||||
_equalHashInfo(HashInfo *a, HashInfo *b)
|
||||
{
|
||||
Assert(IsA(a, HashInfo));
|
||||
Assert(IsA(b, HashInfo));
|
||||
@@ -524,7 +524,7 @@ _equalSubPlan(SubPlan *a, SubPlan *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalJoinInfo(JoinInfo * a, JoinInfo * b)
|
||||
_equalJoinInfo(JoinInfo *a, JoinInfo *b)
|
||||
{
|
||||
Assert(IsA(a, JoinInfo));
|
||||
Assert(IsA(b, JoinInfo));
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.17 1999/05/25 16:09:06 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/Attic/freefuncs.c,v 1.18 1999/05/25 22:41:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -302,7 +302,7 @@ _freeHashJoin(HashJoin *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
FreeNonameFields(Noname * node)
|
||||
FreeNonameFields(Noname *node)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -313,7 +313,7 @@ FreeNonameFields(Noname * node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeNoname(Noname * node)
|
||||
_freeNoname(Noname *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free node superclass fields
|
||||
@@ -609,7 +609,7 @@ _freeFunc(Func *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeAggref(Aggref * node)
|
||||
_freeAggref(Aggref *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -644,7 +644,7 @@ _freeSubLink(SubLink *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeCaseExpr(CaseExpr * node)
|
||||
_freeCaseExpr(CaseExpr *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -662,7 +662,7 @@ _freeCaseExpr(CaseExpr * node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeCaseWhen(CaseWhen * node)
|
||||
_freeCaseWhen(CaseWhen *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -709,7 +709,7 @@ _freeArrayRef(ArrayRef *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeRelOptInfo(RelOptInfo * node)
|
||||
_freeRelOptInfo(RelOptInfo *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -812,7 +812,7 @@ _freeIndexPath(IndexPath *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
FreeNestPathFields(NestPath * node)
|
||||
FreeNestPathFields(NestPath *node)
|
||||
{
|
||||
freeObject(node->pathinfo);
|
||||
freeObject(node->outerjoinpath);
|
||||
@@ -824,7 +824,7 @@ FreeNestPathFields(NestPath * node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeNestPath(NestPath * node)
|
||||
_freeNestPath(NestPath *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free the node superclass fields
|
||||
@@ -933,7 +933,7 @@ _freeMergeOrder(MergeOrder *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeRestrictInfo(RestrictInfo * node)
|
||||
_freeRestrictInfo(RestrictInfo *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -979,7 +979,7 @@ _freeJoinMethod(JoinMethod *node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeHashInfo(HashInfo * node)
|
||||
_freeHashInfo(HashInfo *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -995,7 +995,7 @@ _freeHashInfo(HashInfo * node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeMergeInfo(MergeInfo * node)
|
||||
_freeMergeInfo(MergeInfo *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -1012,7 +1012,7 @@ _freeMergeInfo(MergeInfo * node)
|
||||
* ----------------
|
||||
*/
|
||||
static void
|
||||
_freeJoinInfo(JoinInfo * node)
|
||||
_freeJoinInfo(JoinInfo *node)
|
||||
{
|
||||
/* ----------------
|
||||
* free remainder of node
|
||||
@@ -1066,7 +1066,7 @@ _freeRangeTblEntry(RangeTblEntry *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_freeRowMark(RowMark * node)
|
||||
_freeRowMark(RowMark *node)
|
||||
{
|
||||
pfree(node);
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: outfuncs.c,v 1.85 1999/05/25 16:09:09 momjian Exp $
|
||||
* $Id: outfuncs.c,v 1.86 1999/05/25 22:41:14 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every (plan) node in POSTGRES has an associated "out" routine which
|
||||
@@ -456,7 +456,7 @@ _outIndexScan(StringInfo str, IndexScan *node)
|
||||
* Noname is a subclass of Plan
|
||||
*/
|
||||
static void
|
||||
_outNoname(StringInfo str, Noname * node)
|
||||
_outNoname(StringInfo str, Noname *node)
|
||||
{
|
||||
appendStringInfo(str, " NONAME ");
|
||||
_outPlanInfo(str, (Plan *) node);
|
||||
@@ -660,7 +660,7 @@ _outConst(StringInfo str, Const *node)
|
||||
* Aggref
|
||||
*/
|
||||
static void
|
||||
_outAggref(StringInfo str, Aggref * node)
|
||||
_outAggref(StringInfo str, Aggref *node)
|
||||
{
|
||||
appendStringInfo(str,
|
||||
" AGGREG :aggname %s :basetype %u :aggtype %u :target ",
|
||||
@@ -816,7 +816,7 @@ _outEState(StringInfo str, EState *node)
|
||||
* Stuff from relation.h
|
||||
*/
|
||||
static void
|
||||
_outRelOptInfo(StringInfo str, RelOptInfo * node)
|
||||
_outRelOptInfo(StringInfo str, RelOptInfo *node)
|
||||
{
|
||||
appendStringInfo(str, " RELOPTINFO :relids ");
|
||||
_outIntList(str, node->relids);
|
||||
@@ -879,7 +879,7 @@ _outRangeTblEntry(StringInfo str, RangeTblEntry *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outRowMark(StringInfo str, RowMark * node)
|
||||
_outRowMark(StringInfo str, RowMark *node)
|
||||
{
|
||||
appendStringInfo(str, " ROWMARK :rti %u :info %u", node->rti, node->info);
|
||||
}
|
||||
@@ -954,7 +954,7 @@ _outIndexPath(StringInfo str, IndexPath *node)
|
||||
* NestPath is a subclass of Path
|
||||
*/
|
||||
static void
|
||||
_outNestPath(StringInfo str, NestPath * node)
|
||||
_outNestPath(StringInfo str, NestPath *node)
|
||||
{
|
||||
appendStringInfo(str,
|
||||
" NESTPATH :pathtype %d :cost %f :pathkeys ",
|
||||
@@ -1109,7 +1109,7 @@ _outMergeOrder(StringInfo str, MergeOrder *node)
|
||||
* RestrictInfo is a subclass of Node.
|
||||
*/
|
||||
static void
|
||||
_outRestrictInfo(StringInfo str, RestrictInfo * node)
|
||||
_outRestrictInfo(StringInfo str, RestrictInfo *node)
|
||||
{
|
||||
appendStringInfo(str, " RESTRICTINFO :clause ");
|
||||
_outNode(str, node->clause);
|
||||
@@ -1144,7 +1144,7 @@ _outJoinMethod(StringInfo str, JoinMethod *node)
|
||||
* HashInfo is a subclass of JoinMethod.
|
||||
*/
|
||||
static void
|
||||
_outHashInfo(StringInfo str, HashInfo * node)
|
||||
_outHashInfo(StringInfo str, HashInfo *node)
|
||||
{
|
||||
appendStringInfo(str, " HASHINFO :hashop %u :jmkeys ", node->hashop);
|
||||
_outNode(str, node->jmethod.jmkeys);
|
||||
@@ -1157,7 +1157,7 @@ _outHashInfo(StringInfo str, HashInfo * node)
|
||||
* JoinInfo is a subclass of Node.
|
||||
*/
|
||||
static void
|
||||
_outJoinInfo(StringInfo str, JoinInfo * node)
|
||||
_outJoinInfo(StringInfo str, JoinInfo *node)
|
||||
{
|
||||
appendStringInfo(str, " JINFO :unjoined_relids ");
|
||||
_outIntList(str, node->unjoined_relids);
|
||||
@@ -1365,7 +1365,7 @@ _outConstraint(StringInfo str, Constraint *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outCaseExpr(StringInfo str, CaseExpr * node)
|
||||
_outCaseExpr(StringInfo str, CaseExpr *node)
|
||||
{
|
||||
appendStringInfo(str, "CASE ");
|
||||
_outNode(str, node->args);
|
||||
@@ -1377,7 +1377,7 @@ _outCaseExpr(StringInfo str, CaseExpr * node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outCaseWhen(StringInfo str, CaseWhen * node)
|
||||
_outCaseWhen(StringInfo str, CaseWhen *node)
|
||||
{
|
||||
appendStringInfo(str, " WHEN ");
|
||||
_outNode(str, node->expr);
|
||||
|
||||
Reference in New Issue
Block a user