mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Fix key->strategy
This commit is contained in:
parent
9182368a06
commit
a395ecd1a0
1 changed files with 2 additions and 0 deletions
|
|
@ -743,11 +743,13 @@ hypo_generate_partkey(CreateStmt *stmt, Oid parentid, hypoTable *entry)
|
|||
*/
|
||||
stmt->partspec = transformPartitionSpec(rel, stmt->partspec,
|
||||
&strategy);
|
||||
key->strategy = strategy;
|
||||
|
||||
ComputePartitionAttrs(rel, stmt->partspec->partParams,
|
||||
partattrs, &partexprs, partopclass,
|
||||
partcollation, strategy);
|
||||
|
||||
|
||||
/*--- Adapted from RelationBuildPartitionKey ---*/
|
||||
{
|
||||
ListCell *partexprs_item;
|
||||
|
|
|
|||
Loading…
Reference in a new issue