summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2021-08-08 14:55:51 +0000
committerPeter Eisentraut2021-08-08 16:46:34 +0000
commit2226b4189bb4ccfcc53917a8695d24e91ff2f950 (patch)
treeb1ed4a8a152756d6603d1ecf28330cff71d01d68 /src/include
parent00116dee5ad4c1964777c91e687bb98b1d9f7ea0 (diff)
Change SeqScan node to contain Scan node
This makes the structure of all Scan-derived nodes the same, independent of whether they have additional fields. Discussion: https://www.postgresql.org/message-id/flat/c1097590-a6a4-486a-64b1-e1f9cc0533ce@enterprisedb.com
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nodes/plannodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h
index 98a4c73f939..ec9a8b0c819 100644
--- a/src/include/nodes/plannodes.h
+++ b/src/include/nodes/plannodes.h
@@ -348,7 +348,10 @@ typedef struct Scan
* sequential scan node
* ----------------
*/
-typedef Scan SeqScan;
+typedef struct SeqScan
+{
+ Scan scan;
+} SeqScan;
/* ----------------
* table sample scan node