mirror of https://github.com/citusdata/citus.git
Ruleutils_17 Revert support for ALTER TABLE ... MERGE/SPLIT PARTITION(S) commands
Relevant PG commit:
84f594da35
84f594da358861cceeaeb7a97bb58f3765eeb284
pull/7725/head
parent
f737292205
commit
dd4c58e8ae
|
@ -9771,24 +9771,6 @@ get_range_partbound_string(List *bound_datums)
|
||||||
return buf->data;
|
return buf->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* get_list_partvalue_string
|
|
||||||
* A C string representation of one list partition value
|
|
||||||
*/
|
|
||||||
char *
|
|
||||||
get_list_partvalue_string(Const *val)
|
|
||||||
{
|
|
||||||
deparse_context context;
|
|
||||||
StringInfo buf = makeStringInfo();
|
|
||||||
|
|
||||||
memset(&context, 0, sizeof(deparse_context));
|
|
||||||
context.buf = buf;
|
|
||||||
|
|
||||||
get_const_expr(val, &context, -1);
|
|
||||||
|
|
||||||
return buf->data;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Collect a list of OIDs of all sequences owned by the specified relation,
|
* Collect a list of OIDs of all sequences owned by the specified relation,
|
||||||
* and column if specified. If deptype is not zero, then only find sequences
|
* and column if specified. If deptype is not zero, then only find sequences
|
||||||
|
|
Loading…
Reference in New Issue