forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8bc717c
committed
New version attached. The following is implemented:
- CLUSTER ALL clusters all the tables that have some index with indisclustered set and the calling user owns.- CLUSTER tablename clusters the named table, using the index with indisclustered set. If no index has the bit set, throws elog(ERROR).- The multi-relation version (CLUSTER ALL) uses a multitransaction approach, similar to what VACUUM does.Alvaro Herrera1 parent5b7eb4d commit8bc717c
File tree
8 files changed
+484
-38
lines changed- doc/src/sgml/ref
- src
- backend
- commands
- parser
- tcop
- include
- commands
- nodes
- test/regress
- expected
- sql
8 files changed
+484
-38
lines changedLines changed: 38 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
| 26 | + | |
25 | 27 |
| |
26 | 28 |
| |
27 | 29 |
| |
| |||
104 | 106 |
| |
105 | 107 |
| |
106 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
107 | 123 |
| |
108 | 124 |
| |
109 | 125 |
| |
| |||
141 | 157 |
| |
142 | 158 |
| |
143 | 159 |
| |
144 |
| - | |
145 |
| - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
146 | 169 |
| |
147 | 170 |
| |
148 | 171 |
| |
| |||
192 | 215 |
| |
193 | 216 |
| |
194 | 217 |
| |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
195 | 230 |
| |
196 | 231 |
| |
197 | 232 |
| |
|
0 commit comments
Comments
(0)