New features (and bug fixes)
1. alter large sequence
2. subpartition
2.1 split subpartition
2.2 truncate subpartition
3. 支持load
4. 支持start-with/connect-by
5. ...
This commit is contained in:
@ -641,9 +641,28 @@ void BlockUnsupportedDDL(const Node* parsetree)
|
||||
}
|
||||
} break;
|
||||
case AT_AddNodeList:
|
||||
case AT_DeleteNodeList:
|
||||
break;
|
||||
case AT_DeleteNodeList: {
|
||||
#ifndef ENABLE_MULTIPLE_NODES
|
||||
ereport(ERROR,
|
||||
(errmodule(MOD_FUNCTION),
|
||||
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("Unsupported feature"),
|
||||
errdetail("The capability is not supported for openGauss."),
|
||||
errcause("%s is not supported for openGauss",
|
||||
cmd->subtype == AT_DeleteNodeList ? "DeleteNode" : "AddNode"),
|
||||
erraction("NA")));
|
||||
#endif
|
||||
} break;
|
||||
case AT_UpdateSliceLike: {
|
||||
#ifndef ENABLE_MULTIPLE_NODES
|
||||
ereport(ERROR,
|
||||
(errmodule(MOD_FUNCTION),
|
||||
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("Unsupported feature"),
|
||||
errdetail("The capability is not supported for openGauss."),
|
||||
errcause("UpdateSliceLike is not supported for openGauss"),
|
||||
erraction("NA")));
|
||||
#endif
|
||||
if (!ClusterResizingInProgress() && IS_PGXC_COORDINATOR) {
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
|
||||
Reference in New Issue
Block a user