mirror of https://github.com/citusdata/citus.git
Indent
parent
3a24649748
commit
74b4ef1f45
|
@ -929,6 +929,7 @@ static TableConversionReturn *
|
||||||
ConvertTable(TableConversionState *con)
|
ConvertTable(TableConversionState *con)
|
||||||
{
|
{
|
||||||
ErrorIfTableHasIdentityColumn(con->relationId);
|
ErrorIfTableHasIdentityColumn(con->relationId);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* when there are many partitions or colocated tables, memory usage is
|
* when there are many partitions or colocated tables, memory usage is
|
||||||
* accumulated. Free context for each call to ConvertTable.
|
* accumulated. Free context for each call to ConvertTable.
|
||||||
|
|
|
@ -98,7 +98,8 @@
|
||||||
* once every LOG_PER_TUPLE_AMOUNT, the copy will be logged.
|
* once every LOG_PER_TUPLE_AMOUNT, the copy will be logged.
|
||||||
*/
|
*/
|
||||||
#define LOG_PER_TUPLE_AMOUNT 1000000
|
#define LOG_PER_TUPLE_AMOUNT 1000000
|
||||||
#define WORKER_MODIFY_IDENTITY_COMMAND "SELECT pg_catalog.worker_modify_identity_columns(%s)"
|
#define WORKER_MODIFY_IDENTITY_COMMAND \
|
||||||
|
"SELECT pg_catalog.worker_modify_identity_columns(%s)"
|
||||||
|
|
||||||
/* local function forward declarations */
|
/* local function forward declarations */
|
||||||
static void CreateDistributedTableConcurrently(Oid relationId,
|
static void CreateDistributedTableConcurrently(Oid relationId,
|
||||||
|
|
Loading…
Reference in New Issue