diff options
author | Alvaro Herrera | 2018-04-15 00:12:14 +0000 |
---|---|---|
committer | Alvaro Herrera | 2018-04-15 00:12:14 +0000 |
commit | da6f3e45ddb68ab3161076e120e7c32cfd46d1db (patch) | |
tree | ce5b30869c67d8be6a86fd6f8f0ba95b5ed61e73 /contrib/pageinspect/hashfuncs.c | |
parent | b39fd897e0398a6bdc6552daa7cacdf9c0e46d7e (diff) |
Reorganize partitioning code
There's been a massive addition of partitioning code in PostgreSQL 11,
with little oversight on its placement, resulting in a
catalog/partition.c with poorly defined boundaries and responsibilities.
This commit tries to set a couple of distinct modules to separate things
a 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.h
The previous arrangement of #including catalog/partition.h almost
everywhere is no more.
Authors: Amit Langote and Álvaro Herrera
Discussion: https://postgr.es/m/[email protected]
https://postgr.es/m/[email protected]
https://postgr.es/m/[email protected]
https://postgr.es/m/[email protected]
Diffstat (limited to 'contrib/pageinspect/hashfuncs.c')
-rw-r--r-- | contrib/pageinspect/hashfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pageinspect/hashfuncs.c b/contrib/pageinspect/hashfuncs.c index 99b61b8669f..b48fdfa153b 100644 --- a/contrib/pageinspect/hashfuncs.c +++ b/contrib/pageinspect/hashfuncs.c @@ -19,6 +19,7 @@ #include "funcapi.h" #include "miscadmin.h" #include "utils/builtins.h" +#include "utils/rel.h" PG_FUNCTION_INFO_V1(hash_page_type); PG_FUNCTION_INFO_V1(hash_page_stats); |