aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-07-09 13:58:06 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-07-09 13:58:06 -0400
commit8c73c11a0d39049de2c1f400d8765a0eb21f5228 (patch)
tree82eef73cd5a8f19273ef394336caf8f43cda0483 /src/include
parentb4f79d278f2a78a65ff020b4e8cfa46a2587091d (diff)
downloadpostgresql-8c73c11a0d39049de2c1f400d8765a0eb21f5228.tar.gz
postgresql-8c73c11a0d39049de2c1f400d8765a0eb21f5228.zip
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 6ed765cbe4f..dca2a21e7ab 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;