diff --git a/src/backend/distributed/commands/utility_hook.c b/src/backend/distributed/commands/utility_hook.c index eb4b4644b..1611da462 100644 --- a/src/backend/distributed/commands/utility_hook.c +++ b/src/backend/distributed/commands/utility_hook.c @@ -258,7 +258,7 @@ multi_ProcessUtility(PlannedStmt *pstmt, else if (IsA(parsetree, DoStmt)) { /* - * All statements in a DO block are executed in a single transaciton, + * All statements in a DO block are executed in a single transaction, * so we need to keep track of whether we are inside a DO block. */ DoBlockLevel += 1; diff --git a/src/backend/distributed/sql/udfs/worker_create_or_replace_object/11.0-1.sql b/src/backend/distributed/sql/udfs/worker_create_or_replace_object/11.0-1.sql index d9e21a9b2..6eb26040b 100644 --- a/src/backend/distributed/sql/udfs/worker_create_or_replace_object/11.0-1.sql +++ b/src/backend/distributed/sql/udfs/worker_create_or_replace_object/11.0-1.sql @@ -12,4 +12,4 @@ CREATE OR REPLACE FUNCTION pg_catalog.worker_create_or_replace_object(statements AS 'MODULE_PATHNAME', $$worker_create_or_replace_object_array$$; COMMENT ON FUNCTION pg_catalog.worker_create_or_replace_object(statements text[]) - IS 'takes a lost of sql statements, before executing these it will check if the object already exists in that exact state otherwise replaces that named object with the new object'; + IS 'takes an array of sql statements, before executing these it will check if the object already exists in that exact state otherwise replaces that named object with the new object'; diff --git a/src/backend/distributed/sql/udfs/worker_create_or_replace_object/latest.sql b/src/backend/distributed/sql/udfs/worker_create_or_replace_object/latest.sql index d9e21a9b2..6eb26040b 100644 --- a/src/backend/distributed/sql/udfs/worker_create_or_replace_object/latest.sql +++ b/src/backend/distributed/sql/udfs/worker_create_or_replace_object/latest.sql @@ -12,4 +12,4 @@ CREATE OR REPLACE FUNCTION pg_catalog.worker_create_or_replace_object(statements AS 'MODULE_PATHNAME', $$worker_create_or_replace_object_array$$; COMMENT ON FUNCTION pg_catalog.worker_create_or_replace_object(statements text[]) - IS 'takes a lost of sql statements, before executing these it will check if the object already exists in that exact state otherwise replaces that named object with the new object'; + IS 'takes an array of sql statements, before executing these it will check if the object already exists in that exact state otherwise replaces that named object with the new object';