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

@ -3338,7 +3338,7 @@ _outTableSampleClause(StringInfo str, const TableSampleClause *node)
}
static void
_outAExpr(StringInfo str, const A_Expr *node)
_outA_Expr(StringInfo str, const A_Expr *node)
{
WRITE_NODE_TYPE("AEXPR");
@ -3486,7 +3486,7 @@ _outRawStmt(StringInfo str, const RawStmt *node)
}
static void
_outAConst(StringInfo str, const A_Const *node)
_outA_Const(StringInfo str, const A_Const *node)
{
WRITE_NODE_TYPE("A_CONST");
@ -4430,7 +4430,7 @@ outNode(StringInfo str, const void *obj)
_outTableSampleClause(str, obj);
break;
case T_A_Expr:
_outAExpr(str, obj);
_outA_Expr(str, obj);
break;
case T_ColumnRef:
_outColumnRef(str, obj);
@ -4442,7 +4442,7 @@ outNode(StringInfo str, const void *obj)
_outRawStmt(str, obj);
break;
case T_A_Const:
_outAConst(str, obj);
_outA_Const(str, obj);
break;
case T_A_Star:
_outA_Star(str, obj);