Fix typo: taget/target

pull/5639/head
Ahmet Gedemenli 2022-01-21 10:35:56 +03:00
parent 0244d3f206
commit 8647682c11
1 changed files with 3 additions and 3 deletions

View File

@ -3082,7 +3082,7 @@ citus_internal_update_relation_colocation(PG_FUNCTION_ARGS)
CheckCitusVersion(ERROR); CheckCitusVersion(ERROR);
Oid relationId = PG_GETARG_OID(0); Oid relationId = PG_GETARG_OID(0);
uint32 tagetColocationId = PG_GETARG_UINT32(1); uint32 targetColocationId = PG_GETARG_UINT32(1);
EnsureTableOwner(relationId); EnsureTableOwner(relationId);
@ -3111,7 +3111,7 @@ citus_internal_update_relation_colocation(PG_FUNCTION_ARGS)
int count = 1; int count = 1;
List *targetColocatedTableList = List *targetColocatedTableList =
ColocationGroupTableList(tagetColocationId, count); ColocationGroupTableList(targetColocationId, count);
if (list_length(targetColocatedTableList) == 0) if (list_length(targetColocatedTableList) == 0)
{ {
@ -3128,7 +3128,7 @@ citus_internal_update_relation_colocation(PG_FUNCTION_ARGS)
} }
bool localOnly = true; bool localOnly = true;
UpdateRelationColocationGroup(relationId, tagetColocationId, localOnly); UpdateRelationColocationGroup(relationId, targetColocationId, localOnly);
PG_RETURN_VOID(); PG_RETURN_VOID();
} }