forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit465a3b0
committed
Copy sub-Query nodes to avoid trouble when same sub-Query is linked to
multiple times in the parsetree (can happen in COALESCE or BETWEENcontexts, for example). This is a pretty grotty solution --- it willdo for now, but perhaps we can do better when we redesign querytrees.What we need is a consistent policy about whether querytrees should beconsidered read-only structures or not ...1 parent75b6104 commit465a3b0
1 file changed
+15
-4
lines changedLines changed: 15 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
137 |
| - | |
138 |
| - | |
139 |
| - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
140 | 141 |
| |
141 | 142 |
| |
| 143 | + | |
| 144 | + | |
142 | 145 |
| |
143 | 146 |
| |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
144 | 155 |
| |
145 | 156 |
| |
146 | 157 |
| |
|
0 commit comments
Comments
(0)