- Notifications
You must be signed in to change notification settings - Fork28
Commitbc2d716
committed
Fix ruleutils.c for domain-over-array cases, too.
Further investigation shows that ruleutils isn't quite up to speed eitherfor cases where we have a domain-over-array: it needs to be prepared tolook past a CoerceToDomain at the top level of field and elementassignments, else it decompiles them incorrectly. Potentially this wouldresult in failure to dump/reload a rule, if it looked like the one in thenew test case. (I also added a test for EXPLAIN; that output isn't broken,but clearly we need more test coverage here.)Like commitb1cb32f, this bug is reachable in cases we already support,so back-patch all the way.1 parentda11977 commitbc2d716
File tree
3 files changed
+81
-12
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+81
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6206 | 6206 | | |
6207 | 6207 | | |
6208 | 6208 | | |
6209 | | - | |
6210 | | - | |
| 6209 | + | |
| 6210 | + | |
| 6211 | + | |
| 6212 | + | |
| 6213 | + | |
6211 | 6214 | | |
6212 | 6215 | | |
6213 | 6216 | | |
| |||
6226 | 6229 | | |
6227 | 6230 | | |
6228 | 6231 | | |
| 6232 | + | |
| 6233 | + | |
| 6234 | + | |
| 6235 | + | |
| 6236 | + | |
| 6237 | + | |
| 6238 | + | |
| 6239 | + | |
6229 | 6240 | | |
6230 | 6241 | | |
6231 | 6242 | | |
| |||
10185 | 10196 | | |
10186 | 10197 | | |
10187 | 10198 | | |
10188 | | - | |
10189 | | - | |
| 10199 | + | |
| 10200 | + | |
| 10201 | + | |
| 10202 | + | |
| 10203 | + | |
10190 | 10204 | | |
10191 | 10205 | | |
10192 | 10206 | | |
10193 | 10207 | | |
10194 | 10208 | | |
| 10209 | + | |
10195 | 10210 | | |
10196 | 10211 | | |
10197 | 10212 | | |
| |||
10239 | 10254 | | |
10240 | 10255 | | |
10241 | 10256 | | |
| 10257 | + | |
| 10258 | + | |
| 10259 | + | |
| 10260 | + | |
| 10261 | + | |
| 10262 | + | |
| 10263 | + | |
| 10264 | + | |
| 10265 | + | |
10242 | 10266 | | |
10243 | 10267 | | |
10244 | 10268 | | |
10245 | 10269 | | |
| 10270 | + | |
| 10271 | + | |
| 10272 | + | |
| 10273 | + | |
| 10274 | + | |
| 10275 | + | |
| 10276 | + | |
| 10277 | + | |
| 10278 | + | |
10246 | 10279 | | |
10247 | 10280 | | |
10248 | 10281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
| 270 | + | |
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
283 | 310 | | |
284 | 311 | | |
285 | 312 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
156 | 165 | | |
157 | 166 | | |
158 | 167 | | |
| |||
0 commit comments
Comments
(0)