Fix some build errors

pull/5911/head
Yanwen Jin 2022-05-16 12:06:30 -07:00
parent 2d6ba8e4ee
commit e45d9eb386
4 changed files with 6 additions and 6 deletions

View File

@ -1938,7 +1938,7 @@ columnar_tableam_init()
NULL, NULL,
&EnableVersionChecksColumnar, &EnableVersionChecksColumnar,
true, true,
PGC_USERSET, PGC_SUSET,
GUC_NO_SHOW_ALL, GUC_NO_SHOW_ALL,
NULL, NULL, NULL); NULL, NULL, NULL);
} }

View File

@ -849,7 +849,7 @@ AlterExtensionUpdateStmtObjectAddress(Node *node, bool missing_ok)
* per given extension name and extension verision * per given extension name and extension verision
*/ */
void void
CreateExtensionWithVersion(const char *extname, const char *extVersion) CreateExtensionWithVersion(const char *extname, char *extVersion)
{ {
CreateExtensionStmt *createExtensionStmt = makeNode(CreateExtensionStmt); CreateExtensionStmt *createExtensionStmt = makeNode(CreateExtensionStmt);
@ -883,7 +883,7 @@ CreateExtensionWithVersion(const char *extname, const char *extVersion)
* per given extension name and updates extension verision * per given extension name and updates extension verision
*/ */
void void
AlterExtensionUpdateStmt(const char *extname, const char *extVersion) AlterExtensionUpdateStmt(const char *extname, char *extVersion)
{ {
AlterExtensionStmt *alterExtensionStmt = makeNode(AlterExtensionStmt); AlterExtensionStmt *alterExtensionStmt = makeNode(AlterExtensionStmt);

View File

@ -21,4 +21,4 @@ END$proc$;
ALTER EXTENSION citus ADD FUNCTION citus_internal.upgrade_columnar_storage; ALTER EXTENSION citus ADD FUNCTION citus_internal.upgrade_columnar_storage;
ALTER EXTENSION citus ADD FUNCTION citus_internal.downgrade_columnar_storage; ALTER EXTENSION citus ADD FUNCTION citus_internal.downgrade_columnar_storage;
ALTER EXTENSION citus ADD FUNCTION citus_internal.columnar_ensure_am_depends_catalog; ALTER EXTENSION citus ADD FUNCTION citus_internal.columnar_ensure_am_depends_catalog;

View File

@ -227,8 +227,8 @@ extern ObjectAddress AlterExtensionSchemaStmtObjectAddress(Node *stmt,
bool missing_ok); bool missing_ok);
extern ObjectAddress AlterExtensionUpdateStmtObjectAddress(Node *stmt, extern ObjectAddress AlterExtensionUpdateStmtObjectAddress(Node *stmt,
bool missing_ok); bool missing_ok);
extern void CreateExtensionWithVersion(const char *extname, const char *extVersion); extern void CreateExtensionWithVersion(const char *extname, char *extVersion);
extern void AlterExtensionUpdateStmt(const char *extname, const char *extVersion); extern void AlterExtensionUpdateStmt(const char *extname, char *extVersion);
/* foreign_constraint.c - forward declarations */ /* foreign_constraint.c - forward declarations */
extern bool ConstraintIsAForeignKeyToReferenceTable(char *constraintName, extern bool ConstraintIsAForeignKeyToReferenceTable(char *constraintName,