Mark Scan as an abstract node type, too.

On further review, this one is never instantiated either.
This commit is contained in:
Tom Lane 2022-07-09 13:58:06 -04:00
parent b4f79d278f
commit 8c73c11a0d
2 changed files with 4 additions and 3 deletions

View File

@ -371,10 +371,14 @@ typedef struct BitmapOr
/*
* ==========
* Scan nodes
*
* Scan is an abstract type that all relation scan plan types inherit from.
* ==========
*/
typedef struct Scan
{
pg_node_attr(abstract)
Plan plan;
Index scanrelid; /* relid is index into the range table */
} Scan;

View File

@ -492,9 +492,6 @@ nodetag_to_string(NodeTag tag)
case T_BitmapOr:
return "BitmapOr";
break;
case T_Scan:
return "Scan";
break;
case T_SeqScan:
return "SeqScan";
break;