issue/6694
Gokhan Gulbiz 2023-03-10 16:15:46 +03:00
parent 3a24649748
commit 74b4ef1f45
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
2 changed files with 3 additions and 1 deletions

View File

@ -929,6 +929,7 @@ static TableConversionReturn *
ConvertTable(TableConversionState *con)
{
ErrorIfTableHasIdentityColumn(con->relationId);
/*
* when there are many partitions or colocated tables, memory usage is
* accumulated. Free context for each call to ConvertTable.

View File

@ -98,7 +98,8 @@
* once every LOG_PER_TUPLE_AMOUNT, the copy will be logged.
*/
#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 */
static void CreateDistributedTableConcurrently(Oid relationId,