mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
pgindent run for 9.5
This commit is contained in:
@ -1216,7 +1216,7 @@ _copyAggref(const Aggref *from)
|
||||
static GroupingFunc *
|
||||
_copyGroupingFunc(const GroupingFunc *from)
|
||||
{
|
||||
GroupingFunc *newnode = makeNode(GroupingFunc);
|
||||
GroupingFunc *newnode = makeNode(GroupingFunc);
|
||||
|
||||
COPY_NODE_FIELD(args);
|
||||
COPY_NODE_FIELD(refs);
|
||||
@ -1915,7 +1915,7 @@ _copyFromExpr(const FromExpr *from)
|
||||
static OnConflictExpr *
|
||||
_copyOnConflictExpr(const OnConflictExpr *from)
|
||||
{
|
||||
OnConflictExpr *newnode = makeNode(OnConflictExpr);
|
||||
OnConflictExpr *newnode = makeNode(OnConflictExpr);
|
||||
|
||||
COPY_SCALAR_FIELD(action);
|
||||
COPY_NODE_FIELD(arbiterElems);
|
||||
@ -2173,7 +2173,7 @@ _copySortGroupClause(const SortGroupClause *from)
|
||||
static GroupingSet *
|
||||
_copyGroupingSet(const GroupingSet *from)
|
||||
{
|
||||
GroupingSet *newnode = makeNode(GroupingSet);
|
||||
GroupingSet *newnode = makeNode(GroupingSet);
|
||||
|
||||
COPY_SCALAR_FIELD(kind);
|
||||
COPY_NODE_FIELD(content);
|
||||
|
@ -562,7 +562,7 @@ makeFuncCall(List *name, List *args, int location)
|
||||
GroupingSet *
|
||||
makeGroupingSet(GroupingSetKind kind, List *content, int location)
|
||||
{
|
||||
GroupingSet *n = makeNode(GroupingSet);
|
||||
GroupingSet *n = makeNode(GroupingSet);
|
||||
|
||||
n->kind = kind;
|
||||
n->content = content;
|
||||
|
@ -1936,7 +1936,7 @@ expression_tree_walker(Node *node,
|
||||
break;
|
||||
case T_OnConflictExpr:
|
||||
{
|
||||
OnConflictExpr *onconflict = (OnConflictExpr *) node;
|
||||
OnConflictExpr *onconflict = (OnConflictExpr *) node;
|
||||
|
||||
if (walker((Node *) onconflict->arbiterElems, context))
|
||||
return true;
|
||||
@ -2269,8 +2269,8 @@ expression_tree_mutator(Node *node,
|
||||
break;
|
||||
case T_GroupingFunc:
|
||||
{
|
||||
GroupingFunc *grouping = (GroupingFunc *) node;
|
||||
GroupingFunc *newnode;
|
||||
GroupingFunc *grouping = (GroupingFunc *) node;
|
||||
GroupingFunc *newnode;
|
||||
|
||||
FLATCOPY(newnode, grouping, GroupingFunc);
|
||||
MUTATE(newnode->args, grouping->args, List *);
|
||||
@ -2691,8 +2691,8 @@ expression_tree_mutator(Node *node,
|
||||
break;
|
||||
case T_OnConflictExpr:
|
||||
{
|
||||
OnConflictExpr *oc = (OnConflictExpr *) node;
|
||||
OnConflictExpr *newnode;
|
||||
OnConflictExpr *oc = (OnConflictExpr *) node;
|
||||
OnConflictExpr *newnode;
|
||||
|
||||
FLATCOPY(newnode, oc, OnConflictExpr);
|
||||
MUTATE(newnode->arbiterElems, oc->arbiterElems, List *);
|
||||
|
Reference in New Issue
Block a user