create table/comment support
This commit is contained in:
@ -99,6 +99,7 @@ extern const uint32 PITR_INIT_VERSION_NUM;
|
||||
extern const uint32 PUBLICATION_INITIAL_DATA_VERSION_NAME;
|
||||
extern const uint32 CREATE_FUNCTION_DEFINER_VERSION;
|
||||
extern const uint32 KEYWORD_IGNORE_COMPART_VERSION_NUM;
|
||||
extern const uint32 COMMENT_SUPPORT_VERSION_NUM;
|
||||
|
||||
extern void register_backend_version(uint32 backend_version);
|
||||
extern bool contain_backend_version(uint32 version_number);
|
||||
|
||||
@ -1277,6 +1277,7 @@ typedef struct IndexStmt {
|
||||
List* partIndexOldPSortOid; /* partition psort oid, if any */
|
||||
Node* partClause; /* partition index define */
|
||||
bool* partIndexUsable; /* is partition index usable */
|
||||
List* indexOptions; /* b compatiblity options */
|
||||
/* @hdfs
|
||||
* is a partitioned index? The foreign table dose not index. The isPartitioned
|
||||
* value is false when relation is a foreign table.
|
||||
|
||||
@ -1006,6 +1006,7 @@ typedef struct ColumnDef {
|
||||
Oid collOid; /* collation OID (InvalidOid if not set) */
|
||||
List *constraints; /* other constraints on column */
|
||||
List *fdwoptions; /* per-column FDW options */
|
||||
List *columnOptions; /* b compatiblity options */
|
||||
ClientLogicColumnRef *clientLogicColumnRef;
|
||||
Position *position;
|
||||
Form_pg_attribute dropped_attr; /* strcuture for dropped attribute during create table like OE */
|
||||
@ -1170,6 +1171,7 @@ typedef struct CreateStmt {
|
||||
List *uuids; /* list of uuid, used for create sequence(like 'create table t(a serial))' */
|
||||
Oid oldBucket; /* bucketoid of resizing table */
|
||||
List *oldNode; /* relfilenode of resizing table */
|
||||
List *tableOptions; /* b compatiblity options */
|
||||
List *oldToastNode; /* toastnode of resizing table */
|
||||
char relkind; /* type of object */
|
||||
} CreateStmt;
|
||||
|
||||
Reference in New Issue
Block a user