mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +03:00
Re-run pgindent with updated list of typedefs. (Updated README should
avoid this problem in the future.)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.384 2007/11/15 21:14:35 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.385 2007/11/15 22:25:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -68,7 +68,7 @@
|
||||
* _copyPlannedStmt
|
||||
*/
|
||||
static PlannedStmt *
|
||||
_copyPlannedStmt(PlannedStmt * from)
|
||||
_copyPlannedStmt(PlannedStmt *from)
|
||||
{
|
||||
PlannedStmt *newnode = makeNode(PlannedStmt);
|
||||
|
||||
@@ -727,7 +727,7 @@ _copyRangeVar(RangeVar *from)
|
||||
* _copyIntoClause
|
||||
*/
|
||||
static IntoClause *
|
||||
_copyIntoClause(IntoClause * from)
|
||||
_copyIntoClause(IntoClause *from)
|
||||
{
|
||||
IntoClause *newnode = makeNode(IntoClause);
|
||||
|
||||
@@ -1026,7 +1026,7 @@ _copyRelabelType(RelabelType *from)
|
||||
* _copyCoerceViaIO
|
||||
*/
|
||||
static CoerceViaIO *
|
||||
_copyCoerceViaIO(CoerceViaIO * from)
|
||||
_copyCoerceViaIO(CoerceViaIO *from)
|
||||
{
|
||||
CoerceViaIO *newnode = makeNode(CoerceViaIO);
|
||||
|
||||
@@ -1041,7 +1041,7 @@ _copyCoerceViaIO(CoerceViaIO * from)
|
||||
* _copyArrayCoerceExpr
|
||||
*/
|
||||
static ArrayCoerceExpr *
|
||||
_copyArrayCoerceExpr(ArrayCoerceExpr * from)
|
||||
_copyArrayCoerceExpr(ArrayCoerceExpr *from)
|
||||
{
|
||||
ArrayCoerceExpr *newnode = makeNode(ArrayCoerceExpr);
|
||||
|
||||
@@ -1195,7 +1195,7 @@ _copyMinMaxExpr(MinMaxExpr *from)
|
||||
* _copyXmlExpr
|
||||
*/
|
||||
static XmlExpr *
|
||||
_copyXmlExpr(XmlExpr * from)
|
||||
_copyXmlExpr(XmlExpr *from)
|
||||
{
|
||||
XmlExpr *newnode = makeNode(XmlExpr);
|
||||
|
||||
@@ -1304,7 +1304,7 @@ _copySetToDefault(SetToDefault *from)
|
||||
* _copyCurrentOfExpr
|
||||
*/
|
||||
static CurrentOfExpr *
|
||||
_copyCurrentOfExpr(CurrentOfExpr * from)
|
||||
_copyCurrentOfExpr(CurrentOfExpr *from)
|
||||
{
|
||||
CurrentOfExpr *newnode = makeNode(CurrentOfExpr);
|
||||
|
||||
@@ -1393,7 +1393,7 @@ _copyFromExpr(FromExpr *from)
|
||||
* _copyPathKey
|
||||
*/
|
||||
static PathKey *
|
||||
_copyPathKey(PathKey * from)
|
||||
_copyPathKey(PathKey *from)
|
||||
{
|
||||
PathKey *newnode = makeNode(PathKey);
|
||||
|
||||
@@ -1833,7 +1833,7 @@ _copyLockingClause(LockingClause *from)
|
||||
}
|
||||
|
||||
static XmlSerialize *
|
||||
_copyXmlSerialize(XmlSerialize * from)
|
||||
_copyXmlSerialize(XmlSerialize *from)
|
||||
{
|
||||
XmlSerialize *newnode = makeNode(XmlSerialize);
|
||||
|
||||
@@ -2271,7 +2271,7 @@ _copyRemoveOpClassStmt(RemoveOpClassStmt *from)
|
||||
}
|
||||
|
||||
static RemoveOpFamilyStmt *
|
||||
_copyRemoveOpFamilyStmt(RemoveOpFamilyStmt * from)
|
||||
_copyRemoveOpFamilyStmt(RemoveOpFamilyStmt *from)
|
||||
{
|
||||
RemoveOpFamilyStmt *newnode = makeNode(RemoveOpFamilyStmt);
|
||||
|
||||
@@ -2398,7 +2398,7 @@ _copyCompositeTypeStmt(CompositeTypeStmt *from)
|
||||
}
|
||||
|
||||
static CreateEnumStmt *
|
||||
_copyCreateEnumStmt(CreateEnumStmt * from)
|
||||
_copyCreateEnumStmt(CreateEnumStmt *from)
|
||||
{
|
||||
CreateEnumStmt *newnode = makeNode(CreateEnumStmt);
|
||||
|
||||
@@ -2475,7 +2475,7 @@ _copyCreateOpClassItem(CreateOpClassItem *from)
|
||||
}
|
||||
|
||||
static CreateOpFamilyStmt *
|
||||
_copyCreateOpFamilyStmt(CreateOpFamilyStmt * from)
|
||||
_copyCreateOpFamilyStmt(CreateOpFamilyStmt *from)
|
||||
{
|
||||
CreateOpFamilyStmt *newnode = makeNode(CreateOpFamilyStmt);
|
||||
|
||||
@@ -2486,7 +2486,7 @@ _copyCreateOpFamilyStmt(CreateOpFamilyStmt * from)
|
||||
}
|
||||
|
||||
static AlterOpFamilyStmt *
|
||||
_copyAlterOpFamilyStmt(AlterOpFamilyStmt * from)
|
||||
_copyAlterOpFamilyStmt(AlterOpFamilyStmt *from)
|
||||
{
|
||||
AlterOpFamilyStmt *newnode = makeNode(AlterOpFamilyStmt);
|
||||
|
||||
@@ -2616,7 +2616,7 @@ _copyVariableShowStmt(VariableShowStmt *from)
|
||||
}
|
||||
|
||||
static DiscardStmt *
|
||||
_copyDiscardStmt(DiscardStmt * from)
|
||||
_copyDiscardStmt(DiscardStmt *from)
|
||||
{
|
||||
DiscardStmt *newnode = makeNode(DiscardStmt);
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.314 2007/11/15 21:14:35 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.315 2007/11/15 22:25:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -103,7 +103,7 @@ _equalRangeVar(RangeVar *a, RangeVar *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalIntoClause(IntoClause * a, IntoClause * b)
|
||||
_equalIntoClause(IntoClause *a, IntoClause *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(rel);
|
||||
COMPARE_NODE_FIELD(colNames);
|
||||
@@ -360,7 +360,7 @@ _equalRelabelType(RelabelType *a, RelabelType *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalCoerceViaIO(CoerceViaIO * a, CoerceViaIO * b)
|
||||
_equalCoerceViaIO(CoerceViaIO *a, CoerceViaIO *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(arg);
|
||||
COMPARE_SCALAR_FIELD(resulttype);
|
||||
@@ -378,7 +378,7 @@ _equalCoerceViaIO(CoerceViaIO * a, CoerceViaIO * b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalArrayCoerceExpr(ArrayCoerceExpr * a, ArrayCoerceExpr * b)
|
||||
_equalArrayCoerceExpr(ArrayCoerceExpr *a, ArrayCoerceExpr *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(arg);
|
||||
COMPARE_SCALAR_FIELD(elemfuncid);
|
||||
@@ -506,7 +506,7 @@ _equalMinMaxExpr(MinMaxExpr *a, MinMaxExpr *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalXmlExpr(XmlExpr * a, XmlExpr * b)
|
||||
_equalXmlExpr(XmlExpr *a, XmlExpr *b)
|
||||
{
|
||||
COMPARE_SCALAR_FIELD(op);
|
||||
COMPARE_STRING_FIELD(name);
|
||||
@@ -599,7 +599,7 @@ _equalSetToDefault(SetToDefault *a, SetToDefault *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalCurrentOfExpr(CurrentOfExpr * a, CurrentOfExpr * b)
|
||||
_equalCurrentOfExpr(CurrentOfExpr *a, CurrentOfExpr *b)
|
||||
{
|
||||
COMPARE_SCALAR_FIELD(cvarno);
|
||||
COMPARE_STRING_FIELD(cursor_name);
|
||||
@@ -660,7 +660,7 @@ _equalFromExpr(FromExpr *a, FromExpr *b)
|
||||
*/
|
||||
|
||||
static bool
|
||||
_equalPathKey(PathKey * a, PathKey * b)
|
||||
_equalPathKey(PathKey *a, PathKey *b)
|
||||
{
|
||||
/*
|
||||
* This is normally used on non-canonicalized PathKeys, so must chase up
|
||||
@@ -1112,7 +1112,7 @@ _equalRemoveOpClassStmt(RemoveOpClassStmt *a, RemoveOpClassStmt *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalRemoveOpFamilyStmt(RemoveOpFamilyStmt * a, RemoveOpFamilyStmt * b)
|
||||
_equalRemoveOpFamilyStmt(RemoveOpFamilyStmt *a, RemoveOpFamilyStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(opfamilyname);
|
||||
COMPARE_STRING_FIELD(amname);
|
||||
@@ -1219,7 +1219,7 @@ _equalCompositeTypeStmt(CompositeTypeStmt *a, CompositeTypeStmt *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalCreateEnumStmt(CreateEnumStmt * a, CreateEnumStmt * b)
|
||||
_equalCreateEnumStmt(CreateEnumStmt *a, CreateEnumStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(typename);
|
||||
COMPARE_NODE_FIELD(vals);
|
||||
@@ -1284,7 +1284,7 @@ _equalCreateOpClassItem(CreateOpClassItem *a, CreateOpClassItem *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalCreateOpFamilyStmt(CreateOpFamilyStmt * a, CreateOpFamilyStmt * b)
|
||||
_equalCreateOpFamilyStmt(CreateOpFamilyStmt *a, CreateOpFamilyStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(opfamilyname);
|
||||
COMPARE_STRING_FIELD(amname);
|
||||
@@ -1293,7 +1293,7 @@ _equalCreateOpFamilyStmt(CreateOpFamilyStmt * a, CreateOpFamilyStmt * b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalAlterOpFamilyStmt(AlterOpFamilyStmt * a, AlterOpFamilyStmt * b)
|
||||
_equalAlterOpFamilyStmt(AlterOpFamilyStmt *a, AlterOpFamilyStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(opfamilyname);
|
||||
COMPARE_STRING_FIELD(amname);
|
||||
@@ -1401,7 +1401,7 @@ _equalVariableShowStmt(VariableShowStmt *a, VariableShowStmt *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalDiscardStmt(DiscardStmt * a, DiscardStmt * b)
|
||||
_equalDiscardStmt(DiscardStmt *a, DiscardStmt *b)
|
||||
{
|
||||
COMPARE_SCALAR_FIELD(target);
|
||||
|
||||
@@ -1893,7 +1893,7 @@ _equalFkConstraint(FkConstraint *a, FkConstraint *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalXmlSerialize(XmlSerialize * a, XmlSerialize * b)
|
||||
_equalXmlSerialize(XmlSerialize *a, XmlSerialize *b)
|
||||
{
|
||||
COMPARE_SCALAR_FIELD(xmloption);
|
||||
COMPARE_NODE_FIELD(expr);
|
||||
|
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.317 2007/11/15 21:14:35 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.318 2007/11/15 22:25:15 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Every node type that can appear in stored rules' parsetrees *must*
|
||||
@@ -235,7 +235,7 @@ _outDatum(StringInfo str, Datum value, int typlen, bool typbyval)
|
||||
*/
|
||||
|
||||
static void
|
||||
_outPlannedStmt(StringInfo str, PlannedStmt * node)
|
||||
_outPlannedStmt(StringInfo str, PlannedStmt *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("PLANNEDSTMT");
|
||||
|
||||
@@ -656,7 +656,7 @@ _outRangeVar(StringInfo str, RangeVar *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outIntoClause(StringInfo str, IntoClause * node)
|
||||
_outIntoClause(StringInfo str, IntoClause *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("INTOCLAUSE");
|
||||
|
||||
@@ -872,7 +872,7 @@ _outRelabelType(StringInfo str, RelabelType *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outCoerceViaIO(StringInfo str, CoerceViaIO * node)
|
||||
_outCoerceViaIO(StringInfo str, CoerceViaIO *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("COERCEVIAIO");
|
||||
|
||||
@@ -882,7 +882,7 @@ _outCoerceViaIO(StringInfo str, CoerceViaIO * node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outArrayCoerceExpr(StringInfo str, ArrayCoerceExpr * node)
|
||||
_outArrayCoerceExpr(StringInfo str, ArrayCoerceExpr *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("ARRAYCOERCEEXPR");
|
||||
|
||||
@@ -986,7 +986,7 @@ _outMinMaxExpr(StringInfo str, MinMaxExpr *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outXmlExpr(StringInfo str, XmlExpr * node)
|
||||
_outXmlExpr(StringInfo str, XmlExpr *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("XMLEXPR");
|
||||
|
||||
@@ -1060,7 +1060,7 @@ _outSetToDefault(StringInfo str, SetToDefault *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outCurrentOfExpr(StringInfo str, CurrentOfExpr * node)
|
||||
_outCurrentOfExpr(StringInfo str, CurrentOfExpr *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("CURRENTOFEXPR");
|
||||
|
||||
@@ -1291,7 +1291,7 @@ _outHashPath(StringInfo str, HashPath *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outPlannerGlobal(StringInfo str, PlannerGlobal * node)
|
||||
_outPlannerGlobal(StringInfo str, PlannerGlobal *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("PLANNERGLOBAL");
|
||||
|
||||
@@ -1385,7 +1385,7 @@ _outIndexOptInfo(StringInfo str, IndexOptInfo *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outEquivalenceClass(StringInfo str, EquivalenceClass * node)
|
||||
_outEquivalenceClass(StringInfo str, EquivalenceClass *node)
|
||||
{
|
||||
/*
|
||||
* To simplify reading, we just chase up to the topmost merged EC and
|
||||
@@ -1409,7 +1409,7 @@ _outEquivalenceClass(StringInfo str, EquivalenceClass * node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outEquivalenceMember(StringInfo str, EquivalenceMember * node)
|
||||
_outEquivalenceMember(StringInfo str, EquivalenceMember *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("EQUIVALENCEMEMBER");
|
||||
|
||||
@@ -1421,7 +1421,7 @@ _outEquivalenceMember(StringInfo str, EquivalenceMember * node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outPathKey(StringInfo str, PathKey * node)
|
||||
_outPathKey(StringInfo str, PathKey *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("PATHKEY");
|
||||
|
||||
@@ -1627,7 +1627,7 @@ _outLockingClause(StringInfo str, LockingClause *node)
|
||||
}
|
||||
|
||||
static void
|
||||
_outXmlSerialize(StringInfo str, XmlSerialize * node)
|
||||
_outXmlSerialize(StringInfo str, XmlSerialize *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("XMLSERIALIZE");
|
||||
|
||||
|
Reference in New Issue
Block a user