- Notifications
You must be signed in to change notification settings - Fork28
Commitc94e694
committed
Don't allocate storage for partitioned tables.
Also, don't allow setting reloptions on them, since that would have noeffect given the lack of storage. The patch does this by introducinga new reloption kind for which there are currently no reloptions -- wemight have some in the future -- so it adjusts parseRelOptions tohandle that case correctly.Bumped catversion. System catalogs that contained reloptions forpartitioned tables are no longer valid; plus, there are now fewerphysical files on disk, which is not technically a catalog change butstill a good reason to re-initdb.Amit Langote, reviewed by Maksim Milyutin and Kyotaro Horiguchi andrevised a bit by me.Discussion:http://postgr.es/m/20170331.173326.212311140.horiguchi.kyotaro@lab.ntt.co.jp1 parentf49bcd4 commitc94e694
File tree
5 files changed
+32
-25
lines changed- doc/src/sgml/ref
- src
- backend
- access/common
- catalog
- include
- access
- catalog
5 files changed
+32
-25
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1038 | 1038 |
| |
1039 | 1039 |
| |
1040 | 1040 |
| |
| 1041 | + | |
| 1042 | + | |
1041 | 1043 |
| |
1042 | 1044 |
| |
1043 | 1045 |
| |
|
Lines changed: 15 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1000 | 1000 |
| |
1001 | 1001 |
| |
1002 | 1002 |
| |
1003 |
| - | |
| 1003 | + | |
| 1004 | + | |
1004 | 1005 |
| |
1005 | 1006 |
| |
1006 | 1007 |
| |
| |||
1010 | 1011 |
| |
1011 | 1012 |
| |
1012 | 1013 |
| |
1013 |
| - | |
| 1014 | + | |
1014 | 1015 |
| |
1015 | 1016 |
| |
1016 | 1017 |
| |
| |||
1024 | 1025 |
| |
1025 | 1026 |
| |
1026 | 1027 |
| |
1027 |
| - | |
| 1028 | + | |
1028 | 1029 |
| |
1029 |
| - | |
1030 |
| - | |
1031 |
| - | |
| 1030 | + | |
1032 | 1031 |
| |
1033 |
| - | |
1034 |
| - | |
1035 |
| - | |
1036 |
| - | |
1037 |
| - | |
| 1032 | + | |
1038 | 1033 |
| |
1039 |
| - | |
1040 |
| - | |
1041 |
| - | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1042 | 1040 |
| |
1043 | 1041 |
| |
1044 | 1042 |
| |
| |||
1418 | 1416 |
| |
1419 | 1417 |
| |
1420 | 1418 |
| |
1421 |
| - | |
1422 | 1419 |
| |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1423 | 1423 |
| |
1424 | 1424 |
| |
1425 | 1425 |
| |
|
Lines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
293 | 293 |
| |
294 | 294 |
| |
295 | 295 |
| |
| 296 | + | |
296 | 297 |
| |
297 | 298 |
| |
298 | 299 |
| |
| |||
1347 | 1348 |
| |
1348 | 1349 |
| |
1349 | 1350 |
| |
1350 |
| - | |
1351 |
| - | |
1352 |
| - | |
1353 |
| - | |
1354 |
| - | |
1355 |
| - | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
1356 | 1357 |
| |
1357 |
| - | |
1358 | 1358 |
| |
1359 | 1359 |
| |
1360 | 1360 |
| |
| |||
1378 | 1378 |
| |
1379 | 1379 |
| |
1380 | 1380 |
| |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
1381 | 1384 |
| |
1382 | 1385 |
| |
1383 | 1386 |
| |
| |||
1824 | 1827 |
| |
1825 | 1828 |
| |
1826 | 1829 |
| |
1827 |
| - | |
| 1830 | + | |
| 1831 | + | |
1828 | 1832 |
| |
1829 | 1833 |
| |
1830 | 1834 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
51 | 52 |
| |
52 |
| - | |
| 53 | + | |
53 | 54 |
| |
54 | 55 |
| |
55 | 56 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
0 commit comments
Comments
(0)