forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1300fa6
committed
Doc: clarify when table rewrites happen with column addition and DEFAULT
16828d5 has improved ALTER TABLE so as a column addition does notrequire a rewrite for a non-NULL default with constant expressions, butone spot in the documentation did not get updated consistently.The documentation also now clarifies the fact that this does not applyif the expression is volatile, where a table rewrite is still required.Reported-by: Daniel WestermannAuthor: Ian BarwickReviewed-by: Michael Paquier, Daniel WestermannDiscussion:https://postgr.es/m/DB6PR0902MB2184C7D5645CF15D75EB7957D2CF0@DB6PR0902MB2184.eurprd09.prod.outlook.comBackpatch-through: 111 parent5f38403 commit1300fa6
1 file changed
+23
-11
lines changedLines changed: 23 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1301 | 1301 |
| |
1302 | 1302 |
| |
1303 | 1303 |
| |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1304 | 1327 |
| |
1305 | 1328 |
| |
1306 | 1329 |
| |
| |||
1315 | 1338 |
| |
1316 | 1339 |
| |
1317 | 1340 |
| |
1318 |
| - | |
1319 |
| - | |
1320 |
| - | |
1321 |
| - | |
1322 |
| - | |
1323 |
| - | |
1324 |
| - | |
1325 |
| - | |
1326 |
| - | |
1327 |
| - | |
1328 |
| - | |
1329 | 1341 |
| |
1330 | 1342 |
| |
1331 | 1343 |
| |
|
0 commit comments
Comments
(0)