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

@ -22,4 +22,4 @@ include $(citus_top_builddir)/Makefile.global
.PHONY: install-all
install-all: install
endif
endif

View File

@ -1 +1 @@
-- fake sql file 'Y'
-- fake sql file 'Y'

View File

@ -24,4 +24,4 @@ END$proc$;
-- functions under citus_internal for columnar
ALTER EXTENSION citus_columnar DROP FUNCTION citus_internal.upgrade_columnar_storage;
ALTER EXTENSION citus_columnar DROP FUNCTION citus_internal.downgrade_columnar_storage;
ALTER EXTENSION citus_columnar DROP FUNCTION citus_internal.columnar_ensure_am_depends_catalog;
ALTER EXTENSION citus_columnar DROP FUNCTION citus_internal.columnar_ensure_am_depends_catalog;

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

@ -9,4 +9,4 @@ BEGIN
#include "../../columnar/sql/columnar--10.2-1--10.2-2.sql"
END IF;
END;
$check_columnar$;
$check_columnar$;

View File

@ -9,4 +9,4 @@ BEGIN
#include "../../columnar/sql/columnar--10.2-2--10.2-3.sql"
END IF;
END;
$check_columnar$;
$check_columnar$;

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$;
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,