!2001 b 兼容特性:create table/index/function/procedure/funciton support

Merge pull request !2001 from 吴岳川/comment
This commit is contained in:
opengauss-bot
2022-08-29 07:53:01 +00:00
committed by Gitee
16 changed files with 366 additions and 104 deletions

View File

@ -419,6 +419,8 @@ typedef struct knl_u_parser_context {
bool isCreateFuncOrProc;
bool isTimeCapsule;
bool hasPartitionComment;
} knl_u_parser_context;
typedef struct knl_u_trigger_context {

View File

@ -824,7 +824,8 @@ typedef enum AlterTableType {
AT_SplitSubPartition,
/* this will be in a more natural position in 9.3: */
AT_ReAddConstraint, /* internal to commands/tablecmds.c */
AT_AddIntoCBI
AT_AddIntoCBI,
AT_COMMENTS,
} AlterTableType;
typedef enum AlterTableStatProperty { /* Additional Property for AlterTableCmd */
@ -1318,6 +1319,7 @@ typedef struct Constraint {
bool skip_validation; /* skip validation of existing rows? */
bool initially_valid; /* mark the new constraint as valid? */
List* constraintOptions; /* opt_index_options from gram.y */
/*
* @hdfs
* Field used for soft constraint, which works on HDFS foreign table.