Fix whitespace style issues

pull/5911/head
Yanwen Jin 2022-05-16 12:34:35 -07:00 committed by Jeff Davis
parent 98bcf174c7
commit e869fb3be1
8 changed files with 11 additions and 10 deletions

View File

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

View File

@ -34,5 +34,6 @@ END$proc$;
ALTER EXTENSION citus DROP FUNCTION citus_internal.upgrade_columnar_storage;
ALTER EXTENSION citus DROP FUNCTION citus_internal.downgrade_columnar_storage;
ALTER EXTENSION citus DROP FUNCTION citus_internal.columnar_ensure_am_depends_catalog;
END IF;
END $check_citus$;

View File

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