Fixes indentation

pull/7388/head
gurkanindibay 2023-12-17 21:46:11 +03:00
parent e258122fde
commit ce43bc7c29
2 changed files with 4 additions and 4 deletions

View File

@ -323,9 +323,9 @@ DeparseDatabaseCommentStmt(Node *node)
char *databaseName = strVal(stmt->object);
char *comment = stmt->comment!=NULL?quote_literal_cstr(stmt->comment):"NULL";
char *comment = stmt->comment != NULL ? quote_literal_cstr(stmt->comment) : "NULL";
appendStringInfo(&str, "COMMENT ON DATABASE %s IS %s;",databaseName,comment);
appendStringInfo(&str, "COMMENT ON DATABASE %s IS %s;", databaseName, comment);
return str.data;
}

View File

@ -543,9 +543,9 @@ DeparseRoleCommentStmt(Node *node)
initStringInfo(&str);
char *roleName = strVal(stmt->object);
char *comment = stmt->comment!=NULL?quote_literal_cstr(stmt->comment):"NULL";
char *comment = stmt->comment != NULL ? quote_literal_cstr(stmt->comment) : "NULL";
appendStringInfo(&str, "COMMENT ON ROLE %s IS %s;",roleName,comment);
appendStringInfo(&str, "COMMENT ON ROLE %s IS %s;", roleName, comment);
return str.data;
}