mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
pgindent run for 8.2.
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.350 2006/08/30 23:34:21 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.351 2006/10/04 00:29:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1050,7 +1050,7 @@ _copyRowExpr(RowExpr *from)
|
||||
static RowCompareExpr *
|
||||
_copyRowCompareExpr(RowCompareExpr *from)
|
||||
{
|
||||
RowCompareExpr *newnode = makeNode(RowCompareExpr);
|
||||
RowCompareExpr *newnode = makeNode(RowCompareExpr);
|
||||
|
||||
COPY_SCALAR_FIELD(rctype);
|
||||
COPY_NODE_FIELD(opnos);
|
||||
@@ -2682,7 +2682,7 @@ _copyDeallocateStmt(DeallocateStmt *from)
|
||||
}
|
||||
|
||||
static DropOwnedStmt *
|
||||
_copyDropOwnedStmt(DropOwnedStmt * from)
|
||||
_copyDropOwnedStmt(DropOwnedStmt *from)
|
||||
{
|
||||
DropOwnedStmt *newnode = makeNode(DropOwnedStmt);
|
||||
|
||||
@@ -2693,7 +2693,7 @@ _copyDropOwnedStmt(DropOwnedStmt * from)
|
||||
}
|
||||
|
||||
static ReassignOwnedStmt *
|
||||
_copyReassignOwnedStmt(ReassignOwnedStmt * from)
|
||||
_copyReassignOwnedStmt(ReassignOwnedStmt *from)
|
||||
{
|
||||
ReassignOwnedStmt *newnode = makeNode(ReassignOwnedStmt);
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.284 2006/08/30 23:34:21 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.285 2006/10/04 00:29:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1496,7 +1496,7 @@ _equalDeallocateStmt(DeallocateStmt *a, DeallocateStmt *b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalDropOwnedStmt(DropOwnedStmt * a, DropOwnedStmt * b)
|
||||
_equalDropOwnedStmt(DropOwnedStmt *a, DropOwnedStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(roles);
|
||||
COMPARE_SCALAR_FIELD(behavior);
|
||||
@@ -1505,7 +1505,7 @@ _equalDropOwnedStmt(DropOwnedStmt * a, DropOwnedStmt * b)
|
||||
}
|
||||
|
||||
static bool
|
||||
_equalReassignOwnedStmt(ReassignOwnedStmt * a, ReassignOwnedStmt * b)
|
||||
_equalReassignOwnedStmt(ReassignOwnedStmt *a, ReassignOwnedStmt *b)
|
||||
{
|
||||
COMPARE_NODE_FIELD(roles);
|
||||
COMPARE_NODE_FIELD(newrole);
|
||||
|
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/makefuncs.c,v 1.51 2006/08/21 00:57:24 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/makefuncs.c,v 1.52 2006/10/04 00:29:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -330,7 +330,7 @@ makeFuncExpr(Oid funcid, Oid rettype, List *args, CoercionForm fformat)
|
||||
DefElem *
|
||||
makeDefElem(char *name, Node *arg)
|
||||
{
|
||||
DefElem *res = makeNode(DefElem);
|
||||
DefElem *res = makeNode(DefElem);
|
||||
|
||||
res->defname = name;
|
||||
res->arg = arg;
|
||||
|
@@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/params.c,v 1.6 2006/04/22 01:25:59 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/nodes/params.c,v 1.7 2006/10/04 00:29:53 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -37,14 +37,14 @@ copyParamList(ParamListInfo from)
|
||||
|
||||
/* sizeof(ParamListInfoData) includes the first array element */
|
||||
size = sizeof(ParamListInfoData) +
|
||||
(from->numParams - 1) * sizeof(ParamExternData);
|
||||
(from->numParams - 1) *sizeof(ParamExternData);
|
||||
|
||||
retval = (ParamListInfo) palloc(size);
|
||||
memcpy(retval, from, size);
|
||||
|
||||
/*
|
||||
* Flat-copy is not good enough for pass-by-ref data values, so make
|
||||
* a pass over the array to copy those.
|
||||
* Flat-copy is not good enough for pass-by-ref data values, so make a
|
||||
* pass over the array to copy those.
|
||||
*/
|
||||
for (i = 0; i < retval->numParams; i++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user