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

Lines changed: 4 additions & 0 deletions
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

Lines changed: 0 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy