Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8c73c11

Browse files
committed
Mark Scan as an abstract node type, too.
On further review, this one is never instantiated either.
1 parent b4f79d2 commit 8c73c11

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/include/nodes/plannodes.h

+4
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,14 @@ typedef struct BitmapOr
371371
/*
372372
* ==========
373373
* Scan nodes
374+
*
375+
* Scan is an abstract type that all relation scan plan types inherit from.
374376
* ==========
375377
*/
376378
typedef struct Scan
377379
{
380+
pg_node_attr(abstract)
381+
378382
Plan plan;
379383
Index scanrelid; /* relid is index into the range table */
380384
} Scan;

src/test/modules/test_oat_hooks/test_oat_hooks.c

-3
Original file line numberDiff line numberDiff line change
@@ -492,9 +492,6 @@ nodetag_to_string(NodeTag tag)
492492
case T_BitmapOr:
493493
return "BitmapOr";
494494
break;
495-
case T_Scan:
496-
return "Scan";
497-
break;
498495
case T_SeqScan:
499496
return "SeqScan";
500497
break;

0 commit comments

Comments
 (0)