diff --git a/src/backend/distributed/planner/distributed_planner.c b/src/backend/distributed/planner/distributed_planner.c index a767dac59..890b78e45 100644 --- a/src/backend/distributed/planner/distributed_planner.c +++ b/src/backend/distributed/planner/distributed_planner.c @@ -1960,7 +1960,7 @@ IsLocalReferenceTableJoin(Query *parse, List *rangeTableList) * they do distributed accesses or not, and defaulting to local planning * might break transactional semantics. * - * For example, Access to the reference table in the function might go + * For example, access to the reference table in the function might go * over a connection, but access to the same reference table outside * the function will go over the current backend. The snapshot for the * connection in the function is taken after the statement snapshot, @@ -1981,7 +1981,7 @@ IsLocalReferenceTableJoin(Query *parse, List *rangeTableList) /* * We only allow local join for the relation kinds for which we can - * determine deterministcly that access to hem are local or distributed. + * determine deterministically that access to them are local or distributed. * For this reason, we don't allow non-materialized views. */ if (rangeTableEntry->relkind == RELKIND_VIEW) diff --git a/src/test/regress/expected/multi_test_helpers.out b/src/test/regress/expected/multi_test_helpers.out index b1a5f5637..117a467e4 100644 --- a/src/test/regress/expected/multi_test_helpers.out +++ b/src/test/regress/expected/multi_test_helpers.out @@ -1,4 +1,4 @@ --- File to CREATE FUNCTIONs and helpers needed for subsequent tests +-- File to create functions and helpers needed for subsequent tests -- create a helper function to create objects on each node CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text) RETURNS void LANGUAGE plpgsql AS $$ diff --git a/src/test/regress/sql/multi_test_helpers.sql b/src/test/regress/sql/multi_test_helpers.sql index d3cb7b07e..c20cb7b85 100644 --- a/src/test/regress/sql/multi_test_helpers.sql +++ b/src/test/regress/sql/multi_test_helpers.sql @@ -1,4 +1,4 @@ --- File to CREATE FUNCTIONs and helpers needed for subsequent tests +-- File to create functions and helpers needed for subsequent tests -- create a helper function to create objects on each node CREATE OR REPLACE FUNCTION run_command_on_master_and_workers(p_sql text)