forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitda6f3e4
committed
Reorganize partitioning code
There's been a massive addition of partitioning code in PostgreSQL 11,with little oversight on its placement, resulting in acatalog/partition.c with poorly defined boundaries and responsibilities.This commit tries to set a couple of distinct modules to separate thingsa little bit. There are no code changes here, only code movement.There are three new files: src/backend/utils/cache/partcache.c src/include/partitioning/partdefs.h src/include/utils/partcache.hThe previous arrangement of #including catalog/partition.h almosteverywhere is no more.Authors: Amit Langote and Álvaro HerreraDiscussion:https://postgr.es/m/98e8d509-790a-128c-be7f-e48a5b2d8d97@lab.ntt.co.jphttps://postgr.es/m/11aa0c50-316b-18bb-722d-c23814f39059@lab.ntt.co.jphttps://postgr.es/m/143ed9a4-6038-76d4-9a55-502035815e68@lab.ntt.co.jphttps://postgr.es/m/20180413193503.nynq7bnmgh6vs5vm@alvherre.pgsql1 parentb39fd89 commitda6f3e4
File tree
32 files changed
+3693
-3585
lines changed- contrib
- pageinspect
- pg_stat_statements
- src
- backend
- catalog
- commands
- executor
- optimizer
- path
- util
- parser
- partitioning
- tcop
- utils
- adt
- cache
- misc
- include
- catalog
- commands
- executor
- nodes
- partitioning
- utils
32 files changed
+3693
-3585
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
22 | 23 |
| |
23 | 24 |
| |
24 | 25 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
79 | 80 |
| |
80 | 81 |
| |
81 | 82 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| 80 | + | |
80 | 81 |
| |
81 | 82 |
| |
82 | 83 |
| |
|
0 commit comments
Comments
(0)