mirror of https://github.com/citusdata/citus.git
Apply suggestions from code review
Co-authored-by: Onur Tirtir <onurcantirtir@gmail.com>pull/7253/head
parent
455620cead
commit
9301531941
|
@ -192,17 +192,8 @@ PreprocessGrantOnDatabaseStmt(Node *node, const char *queryString,
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Checks if the provided ALTER DATABASE statement is a SET TABLESPACE statement.
|
* IsSetTablespaceStatement returns true if given AlterDatabaseStmt contains
|
||||||
*
|
* a DefElem to alter tablespace of the target database.
|
||||||
* This function takes a Node pointer representing a AlterDatabaseStmt, and checks
|
|
||||||
* if it is a SET TABLESPACE statement, which is used to move a table to a new
|
|
||||||
* tablespace.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* stmt: A pointer to a Node representing AlterDatabaseStmt.
|
|
||||||
*
|
|
||||||
* Returns:
|
|
||||||
* true if the statement is a SET TABLESPACE statement, false otherwise.
|
|
||||||
*/
|
*/
|
||||||
static bool
|
static bool
|
||||||
isSetTablespaceStatement(AlterDatabaseStmt *stmt)
|
isSetTablespaceStatement(AlterDatabaseStmt *stmt)
|
||||||
|
|
Loading…
Reference in New Issue