diff options
| author | Peter Eisentraut | 2021-08-08 14:55:51 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2021-08-08 16:46:34 +0000 |
| commit | 18fea737b5e47cc677eaf97365c765a47f346763 (patch) | |
| tree | 4fd080fd87748c9f8505ff048cf36d67a1028f33 /src/include/nodes | |
| parent | 2226b4189bb4ccfcc53917a8695d24e91ff2f950 (diff) | |
Change NestPath node to contain JoinPath node
This makes the structure of all JoinPath-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/nodes')
| -rw-r--r-- | src/include/nodes/pathnodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/nodes/pathnodes.h b/src/include/nodes/pathnodes.h index ce7908c3267..6e068f2c8b3 100644 --- a/src/include/nodes/pathnodes.h +++ b/src/include/nodes/pathnodes.h @@ -1598,7 +1598,10 @@ typedef struct JoinPath * A nested-loop path needs no special fields. */ -typedef JoinPath NestPath; +typedef struct NestPath +{ + JoinPath jpath; +} NestPath; /* * A mergejoin path has these fields. |
