forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3908d6a
committed
Support PlaceHolderVars in MERGE actions.
preprocess_targetlist thought PHVs couldn't appear here.It was mistaken, as per report from Önder Kalacı.Surveying other pull_var_clause calls, I noted no similar errors,but I did notice that qual_is_pushdown_safe's assertion about!contain_window_function was pointless, because the followingpull_var_clause call would complain about them anyway. In HEADonly, remove the redundant Assert and improve the commentary.Discussion:https://postgr.es/m/CACawEhUuum-gC_2S3sXLTcsk7bUSPSHOD+g1ZpfKaDK-KKPPWA@mail.gmail.com1 parent69b6032 commit3908d6a
File tree
3 files changed
+36
-7
lines changed- src
- backend/optimizer/prep
- test/regress
- expected
- sql
3 files changed
+36
-7
lines changedLines changed: 5 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
164 | 162 |
| |
165 | 163 |
| |
166 | 164 |
| |
167 | 165 |
| |
168 |
| - | |
| 166 | + | |
169 | 167 |
| |
170 | 168 |
| |
171 | 169 |
| |
|
Lines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1902 | 1902 |
| |
1903 | 1903 |
| |
1904 | 1904 |
| |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
1905 | 1926 |
| |
1906 | 1927 |
| |
1907 | 1928 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1225 | 1225 |
| |
1226 | 1226 |
| |
1227 | 1227 |
| |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1228 | 1238 |
| |
1229 | 1239 |
| |
1230 | 1240 |
| |
|
0 commit comments
Comments
(0)