1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Rename some node support functions for consistency

Some node function names didn't match their node type names exactly.
Fix those for consistency.

Discussion: https://www.postgresql.org/message-id/flat/c1097590-a6a4-486a-64b1-e1f9cc0533ce@enterprisedb.com
This commit is contained in:
Peter Eisentraut
2021-07-21 10:24:06 +02:00
parent 3d25b4ea6e
commit 31360381f0
3 changed files with 20 additions and 20 deletions

View File

@ -2701,7 +2701,7 @@ _copyCommonTableExpr(const CommonTableExpr *from)
}
static A_Expr *
_copyAExpr(const A_Expr *from)
_copyA_Expr(const A_Expr *from)
{
A_Expr *newnode = makeNode(A_Expr);
@ -2737,7 +2737,7 @@ _copyParamRef(const ParamRef *from)
}
static A_Const *
_copyAConst(const A_Const *from)
_copyA_Const(const A_Const *from)
{
A_Const *newnode = makeNode(A_Const);
@ -2788,7 +2788,7 @@ _copyFuncCall(const FuncCall *from)
}
static A_Star *
_copyAStar(const A_Star *from)
_copyA_Star(const A_Star *from)
{
A_Star *newnode = makeNode(A_Star);
@ -2796,7 +2796,7 @@ _copyAStar(const A_Star *from)
}
static A_Indices *
_copyAIndices(const A_Indices *from)
_copyA_Indices(const A_Indices *from)
{
A_Indices *newnode = makeNode(A_Indices);
@ -5714,7 +5714,7 @@ copyObjectImpl(const void *from)
retval = _copyDropSubscriptionStmt(from);
break;
case T_A_Expr:
retval = _copyAExpr(from);
retval = _copyA_Expr(from);
break;
case T_ColumnRef:
retval = _copyColumnRef(from);
@ -5723,16 +5723,16 @@ copyObjectImpl(const void *from)
retval = _copyParamRef(from);
break;
case T_A_Const:
retval = _copyAConst(from);
retval = _copyA_Const(from);
break;
case T_FuncCall:
retval = _copyFuncCall(from);
break;
case T_A_Star:
retval = _copyAStar(from);
retval = _copyA_Star(from);
break;
case T_A_Indices:
retval = _copyAIndices(from);
retval = _copyA_Indices(from);
break;
case T_A_Indirection:
retval = _copyA_Indirection(from);