forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9069a5f
committed
Use a varno not chosen at random for dummy variables in the top-level
targetlist of a set-operation tree. I'm not sure that this solutionwill really stand the test of time --- perhaps we need to make a specialRTE for such vars to refer to. But this quick hack fixes Brandon CraigRhodes' complaint of 10-Feb-02 about EXCEPT in CREATE RULE, while notchanging any behavior in the better-tested cases where leftmostRTI isone anyway.1 parent8a4fdce commit9069a5f
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
1786 | 1786 |
| |
1787 | 1787 |
| |
1788 | 1788 |
| |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1789 | 1794 |
| |
1790 | 1795 |
| |
1791 | 1796 |
| |
| |||
1804 | 1809 |
| |
1805 | 1810 |
| |
1806 | 1811 |
| |
1807 |
| - | |
| 1812 | + | |
1808 | 1813 |
| |
1809 | 1814 |
| |
1810 | 1815 |
| |
| |||
1871 | 1876 |
| |
1872 | 1877 |
| |
1873 | 1878 |
| |
1874 |
| - | |
| 1879 | + | |
1875 | 1880 |
| |
1876 | 1881 |
| |
1877 | 1882 |
| |
|
0 commit comments
Comments
(0)