forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd61a6ca
committed
Add support for DEFAULT in ALTER TABLE .. SET ACCESS METHOD
This option can be used to switch a relation to use the access methodset by default_table_access_method when running the command.This has come up when discussing the possibility to support settingpg_class.relam for partitioned tables (left out here as future work),while being useful on its own for relations with physical storage asthese must have an access method set.Per suggestion from Justin Pryzby.Author: Michael PaquierReviewed-by: Justin PryzbyDiscussion:https://postgr.es/m/ZeCZ89xAVFeOmrQC@pryzbyj20231 parent4f8c1e7 commitd61a6ca
File tree
6 files changed
+52
-6
lines changed- doc/src/sgml/ref
- src
- backend
- commands
- parser
- bin/psql
- test/regress
- expected
- sql
6 files changed
+52
-6
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
79 |
| - | |
| 79 | + | |
80 | 80 |
| |
81 | 81 |
| |
82 | 82 |
| |
| |||
733 | 733 |
| |
734 | 734 |
| |
735 | 735 |
| |
736 |
| - | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
737 | 739 |
| |
738 | 740 |
| |
739 | 741 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15202 | 15202 |
| |
15203 | 15203 |
| |
15204 | 15204 |
| |
| 15205 | + | |
15205 | 15206 |
| |
15206 | 15207 |
| |
15207 | 15208 |
| |
15208 | 15209 |
| |
15209 | 15210 |
| |
15210 | 15211 |
| |
15211 | 15212 |
| |
15212 |
| - | |
| 15213 | + | |
| 15214 | + | |
15213 | 15215 |
| |
15214 | 15216 |
| |
15215 | 15217 |
| |
|
Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
338 | 338 |
| |
339 | 339 |
| |
340 | 340 |
| |
| 341 | + | |
341 | 342 |
| |
342 | 343 |
| |
343 | 344 |
| |
| |||
2859 | 2860 |
| |
2860 | 2861 |
| |
2861 | 2862 |
| |
2862 |
| - | |
2863 |
| - | |
| 2863 | + | |
| 2864 | + | |
2864 | 2865 |
| |
2865 | 2866 |
| |
2866 | 2867 |
| |
| |||
3076 | 3077 |
| |
3077 | 3078 |
| |
3078 | 3079 |
| |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
3079 | 3085 |
| |
3080 | 3086 |
| |
3081 | 3087 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2563 | 2563 |
| |
2564 | 2564 |
| |
2565 | 2565 |
| |
2566 |
| - | |
| 2566 | + | |
| 2567 | + | |
2567 | 2568 |
| |
2568 | 2569 |
| |
2569 | 2570 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
286 | 307 |
| |
287 | 308 |
| |
288 | 309 |
| |
| |||
309 | 330 |
| |
310 | 331 |
| |
311 | 332 |
| |
| 333 | + | |
| 334 | + | |
312 | 335 |
| |
313 | 336 |
| |
314 | 337 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
191 | 202 |
| |
192 | 203 |
| |
193 | 204 |
| |
| |||
198 | 209 |
| |
199 | 210 |
| |
200 | 211 |
| |
| 212 | + | |
201 | 213 |
| |
202 | 214 |
| |
203 | 215 |
| |
|
0 commit comments
Comments
(0)