mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Declare hypo_index_check_uniqueness_compatibility for pg11+ only
This commit is contained in:
parent
acd87ef01a
commit
55d96e715d
1 changed files with 2 additions and 1 deletions
|
|
@ -101,8 +101,10 @@ static void hypo_estimate_index_simple(hypoIndex *entry,
|
|||
static void hypo_estimate_index(hypoIndex *entry, RelOptInfo *rel,
|
||||
PlannerInfo *root);
|
||||
static int hypo_estimate_index_colsize(hypoIndex *entry, int col);
|
||||
#if PG_VERSION_NUM >= 110000
|
||||
static void hypo_index_check_uniqueness_compatibility(IndexStmt *stmt,
|
||||
Oid relid, hypoIndex *entry);
|
||||
#endif
|
||||
static void hypo_index_pfree(hypoIndex *entry);
|
||||
static bool hypo_index_remove(Oid indexid);
|
||||
static const hypoIndex *hypo_index_store_parsetree(IndexStmt *node,
|
||||
|
|
@ -699,7 +701,6 @@ hypo_index_store_parsetree(IndexStmt *node, const char *queryString)
|
|||
}
|
||||
|
||||
#if PG_VERSION_NUM >= 110000
|
||||
|
||||
/*
|
||||
* check for uniqueness compatibility with (hypothetically)
|
||||
* partitioned tables
|
||||
|
|
|
|||
Loading…
Reference in a new issue