From 3e64dc44c861a99946d30d52c92657ed9f600c99 Mon Sep 17 00:00:00 2001 From: Hanefi Onaldi Date: Wed, 13 Oct 2021 13:00:39 +0300 Subject: [PATCH] Fix some typos in comments (#5369) --- src/backend/distributed/metadata/dependency.c | 2 +- .../distributed/sql/udfs/citus_prepare_pg_upgrade/10.2-1.sql | 2 +- .../distributed/sql/udfs/citus_prepare_pg_upgrade/latest.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/metadata/dependency.c b/src/backend/distributed/metadata/dependency.c index 3bd8fe903..d092cbfd3 100644 --- a/src/backend/distributed/metadata/dependency.c +++ b/src/backend/distributed/metadata/dependency.c @@ -101,7 +101,7 @@ typedef struct DependencyDefinition /* * address is used for dependencies that are artificially added during the * chasing. Since they are added by citus code we assume the dependency needs to - * be chased anyway, ofcourse it will only actually be chased if the object is a + * be chased anyway, of course it will only actually be chased if the object is a * supported object by citus */ ObjectAddress address; diff --git a/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/10.2-1.sql b/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/10.2-1.sql index 6c45f67df..8b87c8f38 100644 --- a/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/10.2-1.sql +++ b/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/10.2-1.sql @@ -11,7 +11,7 @@ BEGIN -- -- We are dropping the aggregates because postgres 14 changed -- array_cat type from anyarray to anycompatiblearray. When - -- upgrading to pg14, spegifically when running pg_restore on + -- upgrading to pg14, specifically when running pg_restore on -- array_cat_agg we would get an error. So we drop the aggregate -- and create the right one on citus_finish_pg_upgrade. diff --git a/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/latest.sql b/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/latest.sql index 6c45f67df..8b87c8f38 100644 --- a/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/latest.sql +++ b/src/backend/distributed/sql/udfs/citus_prepare_pg_upgrade/latest.sql @@ -11,7 +11,7 @@ BEGIN -- -- We are dropping the aggregates because postgres 14 changed -- array_cat type from anyarray to anycompatiblearray. When - -- upgrading to pg14, spegifically when running pg_restore on + -- upgrading to pg14, specifically when running pg_restore on -- array_cat_agg we would get an error. So we drop the aggregate -- and create the right one on citus_finish_pg_upgrade.