summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2022-07-09 17:58:06 +0000
committerTom Lane2022-07-09 17:58:06 +0000
commit8c73c11a0d39049de2c1f400d8765a0eb21f5228 (patch)
tree82eef73cd5a8f19273ef394336caf8f43cda0483 /src/include
parentb4f79d278f2a78a65ff020b4e8cfa46a2587091d (diff)
Mark Scan as an abstract node type, too.
On further review, this one is never instantiated either.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nodes/plannodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h
index 6ed765cbe4..dca2a21e7a 100644
--- a/src/include/nodes/plannodes.h
+++ b/src/include/nodes/plannodes.h
@@ -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;