forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8a15b41
committed
Fix get_expr_result_type() to find field names for RECORD Consts.
This is a back-patch of commitd575347 ("Fix EXPLAIN of SEARCHBREADTH FIRST with a constant initial value") into pre-v14 branches.At the time I'd thought it was not needed in branches that lack theSEARCH/CYCLE feature, but that was just a failure of imagination.It's possible to demonstrate "record type has not been registered"failures in older branches too, during deparsing of views that containreferences to fields of composite constants.Back-patch only the code changes, as the test cases added byd575347all require SEARCH/CYCLE syntax. A suitable test case will be addedin the upcoming fix for bug #18077.Discussion:https://postgr.es/m/17644-3bd1f3036d6d7a16@postgresql.orgDiscussion:https://postgr.es/m/3607145.1694803130@sss.pgh.pa.us1 parent2f02d4a commit8a15b41
2 files changed
+36
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7018 | 7018 | | |
7019 | 7019 | | |
7020 | 7020 | | |
7021 | | - | |
| 7021 | + | |
| 7022 | + | |
7022 | 7023 | | |
7023 | 7024 | | |
7024 | 7025 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
271 | 305 | | |
272 | 306 | | |
273 | 307 | | |
| |||
0 commit comments
Comments
(0)