mirror of https://github.com/citusdata/citus.git
Citus indent
parent
ad67942cda
commit
9fc09947ed
|
@ -235,7 +235,8 @@ GetDependencyCreateDDLCommands(const ObjectAddress *dependency)
|
|||
return NIL;
|
||||
}
|
||||
|
||||
if (relKind == RELKIND_RELATION || relKind == RELKIND_PARTITIONED_TABLE || relKind == RELKIND_FOREIGN_TABLE)
|
||||
if (relKind == RELKIND_RELATION || relKind == RELKIND_PARTITIONED_TABLE ||
|
||||
relKind == RELKIND_FOREIGN_TABLE)
|
||||
{
|
||||
Oid relationId = dependency->objectId;
|
||||
if (IsCitusTable(relationId) && !IsTableOwnedByExtension(relationId))
|
||||
|
|
|
@ -1225,7 +1225,7 @@ ActivateNode(char *nodeName, int nodePort)
|
|||
SetWorkerColumnLocalOnly(workerNode, Anum_pg_dist_node_isactive,
|
||||
BoolGetDatum(isActive));
|
||||
|
||||
// TODO: Once all tests will be enabled for MX, we can remove sync by default check
|
||||
/* TODO: Once all tests will be enabled for MX, we can remove sync by default check */
|
||||
bool syncMetadata = EnableMetadataSyncByDefault && NodeIsPrimary(workerNode);
|
||||
|
||||
if (syncMetadata)
|
||||
|
|
|
@ -481,7 +481,8 @@ worker_apply_sequence_command(PG_FUNCTION_ARGS)
|
|||
if (pgSequenceForm->seqtypid != sequenceTypeId)
|
||||
{
|
||||
StringInfo dropSequenceString = makeStringInfo();
|
||||
char *qualifiedSequenceName = quote_qualified_identifier(sequenceSchema, sequenceName);
|
||||
char *qualifiedSequenceName = quote_qualified_identifier(sequenceSchema,
|
||||
sequenceName);
|
||||
appendStringInfoString(dropSequenceString, "DROP SEQUENCE ");
|
||||
appendStringInfoString(dropSequenceString, qualifiedSequenceName);
|
||||
appendStringInfoString(dropSequenceString, ";");
|
||||
|
|
Loading…
Reference in New Issue