- Notifications
You must be signed in to change notification settings - Fork5
Commit8b728e5
committed
Fix oversight in new code for printing rangetable aliases.
In commit11e1318, I missed the case ofa CTE RTE that doesn't have a user-defined alias, but does have analias assigned by set_rtable_names(). Per report from Peter Eisentraut.While at it, refactor slightly to reduce code duplication.1 parent49ec613 commit8b728e5
File tree
3 files changed
+56
-10
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+56
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6739 | 6739 | | |
6740 | 6740 | | |
6741 | 6741 | | |
6742 | | - | |
| 6742 | + | |
6743 | 6743 | | |
6744 | 6744 | | |
6745 | 6745 | | |
6746 | 6746 | | |
| 6747 | + | |
6747 | 6748 | | |
6748 | 6749 | | |
6749 | 6750 | | |
| |||
6776 | 6777 | | |
6777 | 6778 | | |
6778 | 6779 | | |
| 6780 | + | |
| 6781 | + | |
6779 | 6782 | | |
6780 | 6783 | | |
6781 | 6784 | | |
6782 | | - | |
6783 | | - | |
| 6785 | + | |
6784 | 6786 | | |
6785 | 6787 | | |
6786 | 6788 | | |
| |||
6790 | 6792 | | |
6791 | 6793 | | |
6792 | 6794 | | |
6793 | | - | |
6794 | | - | |
6795 | | - | |
6796 | | - | |
| 6795 | + | |
6797 | 6796 | | |
6798 | 6797 | | |
6799 | 6798 | | |
| |||
6802 | 6801 | | |
6803 | 6802 | | |
6804 | 6803 | | |
6805 | | - | |
6806 | | - | |
| 6804 | + | |
| 6805 | + | |
| 6806 | + | |
| 6807 | + | |
| 6808 | + | |
| 6809 | + | |
| 6810 | + | |
| 6811 | + | |
| 6812 | + | |
| 6813 | + | |
| 6814 | + | |
6807 | 6815 | | |
| 6816 | + | |
| 6817 | + | |
6808 | 6818 | | |
| 6819 | + | |
6809 | 6820 | | |
6810 | 6821 | | |
6811 | 6822 | | |
6812 | 6823 | | |
6813 | 6824 | | |
6814 | | - | |
| 6825 | + | |
6815 | 6826 | | |
6816 | 6827 | | |
6817 | 6828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
295 | 319 | | |
296 | 320 | | |
297 | 321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
181 | 192 | | |
182 | 193 | | |
183 | 194 | | |
| |||
0 commit comments
Comments
(0)