- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit1ba3b15
committed
Remove bogus assertion in transformExpressionList().
I think when I added this assertion (in commit8f889b1), I was onlythinking of the use of transformExpressionList at top level of INSERTand VALUES. But it's also called by transformRowExpr(), which cancertainly occur in an UPDATE targetlist, so it's inappropriate tosuppose that p_multiassign_exprs must be empty. Besides, since theinput is not expected to contain ResTargets, there's no reason itshould contain MultiAssignRefs either. Hence this code need notbe concerned about the state of p_multiassign_exprs, and we shouldjust drop the assertion.Per bug #17236 from ocean_li_996. It's been wrong for years,so back-patch to all supported branches.Discussion:https://postgr.es/m/17236-3210de9bcba1d7ca@postgresql.org1 parentef1f158 commit1ba3b15
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 |
| - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
213 | 215 |
| |
214 | 216 |
| |
215 | 217 |
| |
| |||
261 | 263 |
| |
262 | 264 |
| |
263 | 265 |
| |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 | 266 |
| |
268 | 267 |
| |
269 | 268 |
| |
|
0 commit comments
Comments
(0)