Citus Indent

velioglu/wo_seq_test_1
Burak Velioglu 2021-12-31 13:16:30 +03:00
parent 3c1361dd4d
commit 596e49db8c
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
2 changed files with 7 additions and 5 deletions

View File

@ -540,8 +540,8 @@ CreateDistributedTable(Oid relationId, Var *distributionColumn, char distributio
} }
else else
{ {
// sync etmedigimizi ignore ediyoruz commenti, ozellikle append dist tablolar icin /* sync etmedigimizi ignore ediyoruz commenti, ozellikle append dist tablolar icin */
// backward compatible olarak calisacak, sync de yapsak gitmicek /* backward compatible olarak calisacak, sync de yapsak gitmicek */
} }
/* /*
@ -607,7 +607,7 @@ EnsureSequenceTypeSupported(Oid seqOid, Oid seqTypId, Oid ownerRelationId)
{ {
List *citusTableIdList = CitusTableTypeIdList(ANY_CITUS_TABLE_TYPE); List *citusTableIdList = CitusTableTypeIdList(ANY_CITUS_TABLE_TYPE);
citusTableIdList = lappend_oid(citusTableIdList, ownerRelationId); citusTableIdList = lappend_oid(citusTableIdList, ownerRelationId);
Oid citusTableId = InvalidOid; Oid citusTableId = InvalidOid;
foreach_oid(citusTableId, citusTableIdList) foreach_oid(citusTableId, citusTableIdList)
{ {

View File

@ -825,7 +825,7 @@ ClearDistributedTablesFromNode(WorkerNode *workerNode)
List *detachPartitionCommandList = DetachPartitionCommandList(); List *detachPartitionCommandList = DetachPartitionCommandList();
clearDistributedTablesCommandList = list_concat(clearDistributedTablesCommandList, clearDistributedTablesCommandList = list_concat(clearDistributedTablesCommandList,
detachPartitionCommandList); detachPartitionCommandList);
clearDistributedTablesCommandList = lappend(clearDistributedTablesCommandList, clearDistributedTablesCommandList = lappend(clearDistributedTablesCommandList,
REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND); REMOVE_ALL_CLUSTERED_TABLES_ONLY_COMMAND);
@ -908,8 +908,10 @@ SetUpDistributedTableWithDependencies(WorkerNode *newWorkerNode)
* We prefer this because otherwise node activation might fail within * We prefer this because otherwise node activation might fail within
* transaction blocks. * transaction blocks.
*/ */
/* TODO: Doesn't make sense to have that here as we won't handle placement metadata */ /* TODO: Doesn't make sense to have that here as we won't handle placement metadata */
// TODO: Metadatasynced olmayan worker varsa patla (Onder'in PRinda gidebilir) /* TODO: Metadatasynced olmayan worker varsa patla (Onder'in PRinda gidebilir) */
/* with maintenance daemon anymore */ /* with maintenance daemon anymore */
/* if (ClusterHasDistributedFunctionWithDistArgument()) /* if (ClusterHasDistributedFunctionWithDistArgument())