forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit86182b1
committed
Doc: call out UPDATE syntax change as a v10 compatibility issue.
The change made by commit906bfca means that if you're writinga parenthesized column list in UPDATE ... SET, but that column listis only one column, you now need to write ROW(expression) on therighthand side, not just a parenthesized expression. This was anintentional change for spec compatibility and potential futureexpansion of the possibilities for the RHS, but I'd neglected todocument it as a compatibility issue, figuring that hardly anyonewould bother with parenthesized syntax for a single target column.I was wrong, as shown by questions from Justin Pryzby, Adam Brusselback,and others. Move the release note item into the compatibility sectionand point out the behavior change for a single target column.Discussion:https://postgr.es/m/CAMjNa7cDLzPcs0xnRpkvqmJ6Vb6G3EH8CYGp9ZBjXdpFfTz6dg@mail.gmail.com1 parentbe72b9c commit86182b1
1 file changed
+26
-20
lines changedLines changed: 26 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
157 | 157 |
| |
158 | 158 |
| |
159 | 159 |
| |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
160 | 186 |
| |
161 | 187 |
| |
162 | 188 |
| |
| |||
1538 | 1564 |
| |
1539 | 1565 |
| |
1540 | 1566 |
| |
1541 |
| - | |
1542 |
| - | |
1543 |
| - | |
1544 |
| - | |
1545 |
| - | |
1546 |
| - | |
1547 |
| - | |
1548 |
| - | |
1549 |
| - | |
1550 |
| - | |
1551 |
| - | |
1552 |
| - | |
1553 |
| - | |
1554 |
| - | |
1555 |
| - | |
1556 |
| - | |
1557 |
| - | |
1558 |
| - | |
1559 |
| - | |
1560 |
| - | |
1561 | 1567 |
| |
1562 | 1568 |
| |
1563 | 1569 |
| |
|
0 commit comments
Comments
(0)