mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Make sure that hypoTables is initialized in hypopg_add_partition.
This commit is contained in:
parent
54665eeb1b
commit
4576b0af11
1 changed files with 3 additions and 0 deletions
|
|
@ -3530,6 +3530,9 @@ HYPO_PARTITION_NOT_SUPPORTED();
|
|||
/* Process any pending invalidation */
|
||||
hypo_process_inval();
|
||||
|
||||
if (!hypoTables)
|
||||
hypo_initTablesHash();
|
||||
|
||||
if (!PG_ARGISNULL(2))
|
||||
partition_by = TextDatumGetCString(PG_GETARG_TEXT_PP(2));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue