mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Remove T_Join and T_Plan
These are abstract node types that don't need to have a node tag defined. Discussion: https://www.postgresql.org/message-id/2592455.1657140387%40sss.pgh.pa.us
This commit is contained in:
@@ -386,15 +386,6 @@ _outJoinPlanInfo(StringInfo str, const Join *node)
|
||||
WRITE_NODE_FIELD(joinqual);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
_outPlan(StringInfo str, const Plan *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("PLAN");
|
||||
|
||||
_outPlanInfo(str, (const Plan *) node);
|
||||
}
|
||||
|
||||
static void
|
||||
_outResult(StringInfo str, const Result *node)
|
||||
{
|
||||
@@ -750,14 +741,6 @@ _outCustomScan(StringInfo str, const CustomScan *node)
|
||||
outToken(str, node->methods->CustomName);
|
||||
}
|
||||
|
||||
static void
|
||||
_outJoin(StringInfo str, const Join *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("JOIN");
|
||||
|
||||
_outJoinPlanInfo(str, (const Join *) node);
|
||||
}
|
||||
|
||||
static void
|
||||
_outNestLoop(StringInfo str, const NestLoop *node)
|
||||
{
|
||||
@@ -4058,9 +4041,6 @@ outNode(StringInfo str, const void *obj)
|
||||
case T_PlannedStmt:
|
||||
_outPlannedStmt(str, obj);
|
||||
break;
|
||||
case T_Plan:
|
||||
_outPlan(str, obj);
|
||||
break;
|
||||
case T_Result:
|
||||
_outResult(str, obj);
|
||||
break;
|
||||
@@ -4145,9 +4125,6 @@ outNode(StringInfo str, const void *obj)
|
||||
case T_CustomScan:
|
||||
_outCustomScan(str, obj);
|
||||
break;
|
||||
case T_Join:
|
||||
_outJoin(str, obj);
|
||||
break;
|
||||
case T_NestLoop:
|
||||
_outNestLoop(str, obj);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user