From 0099db4ce1a19038d0d837bf82a35c989332cc58 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 28 May 2020 12:35:18 +0300 Subject: [PATCH] Fix typo in test comment. The same comment was copied to a few different places, with the same typo. Backpatch down to v11, where this typo was introduced. --- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/expected/hash_part.out | 2 +- src/test/regress/expected/insert.out | 2 +- src/test/regress/expected/partition_prune.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- src/test/regress/sql/hash_part.sql | 2 +- src/test/regress/sql/insert.sql | 2 +- src/test/regress/sql/partition_prune.sql | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/regress/expected/alter_table.out b/src/test/regress/expected/alter_table.out index 99ff6973bc8..002079601fa 100644 --- a/src/test/regress/expected/alter_table.out +++ b/src/test/regress/expected/alter_table.out @@ -4000,7 +4000,7 @@ CREATE TABLE quuux2 PARTITION OF quuux FOR VALUES IN (2); DROP TABLE quuux; -- check validation when attaching hash partitions -- Use hand-rolled hash functions and operator class to get predictable result --- on different matchines. part_test_int4_ops is defined in insert.sql. +-- on different machines. part_test_int4_ops is defined in insert.sql. -- check that the new partition won't overlap with an existing partition CREATE TABLE hash_parted ( a int, diff --git a/src/test/regress/expected/hash_part.out b/src/test/regress/expected/hash_part.out index 8db316be27e..91ec7c6f589 100644 --- a/src/test/regress/expected/hash_part.out +++ b/src/test/regress/expected/hash_part.out @@ -2,7 +2,7 @@ -- Hash partitioning. -- -- Use hand-rolled hash functions and operator classes to get predictable --- result on different matchines. See the definitions of +-- result on different machines. See the definitions of -- part_part_test_int4_ops and part_test_text_ops in insert.sql. CREATE TABLE mchash (a int, b text, c jsonb) PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops); diff --git a/src/test/regress/expected/insert.out b/src/test/regress/expected/insert.out index 45d77ba3a5f..eb9d45be5e5 100644 --- a/src/test/regress/expected/insert.out +++ b/src/test/regress/expected/insert.out @@ -388,7 +388,7 @@ select tableoid::regclass::text, a, min(b) as min_b, max(b) as max_b from list_p -- direct partition inserts should check hash partition bound constraint -- Use hand-rolled hash functions and operator classes to get predictable --- result on different matchines. The hash function for int4 simply returns +-- result on different machines. The hash function for int4 simply returns -- the sum of the values passed to it and the one for text returns the length -- of the non-empty string value passed to it or 0. create or replace function part_hashint4_noop(value int4, seed int8) diff --git a/src/test/regress/expected/partition_prune.out b/src/test/regress/expected/partition_prune.out index 9c8f80da877..4315e8e0a37 100644 --- a/src/test/regress/expected/partition_prune.out +++ b/src/test/regress/expected/partition_prune.out @@ -1535,7 +1535,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru -- Test Partition pruning for HASH partitioning -- -- Use hand-rolled hash functions and operator classes to get predictable --- result on different matchines. See the definitions of +-- result on different machines. See the definitions of -- part_part_test_int4_ops and part_test_text_ops in insert.sql. -- create table hp (a int, b text) partition by hash (a part_test_int4_ops, b part_test_text_ops); diff --git a/src/test/regress/sql/alter_table.sql b/src/test/regress/sql/alter_table.sql index b45ba2a322b..ec272d78f8a 100644 --- a/src/test/regress/sql/alter_table.sql +++ b/src/test/regress/sql/alter_table.sql @@ -2558,7 +2558,7 @@ DROP TABLE quuux; -- check validation when attaching hash partitions -- Use hand-rolled hash functions and operator class to get predictable result --- on different matchines. part_test_int4_ops is defined in insert.sql. +-- on different machines. part_test_int4_ops is defined in insert.sql. -- check that the new partition won't overlap with an existing partition CREATE TABLE hash_parted ( diff --git a/src/test/regress/sql/hash_part.sql b/src/test/regress/sql/hash_part.sql index 30601b913e0..e7eb36542cc 100644 --- a/src/test/regress/sql/hash_part.sql +++ b/src/test/regress/sql/hash_part.sql @@ -3,7 +3,7 @@ -- -- Use hand-rolled hash functions and operator classes to get predictable --- result on different matchines. See the definitions of +-- result on different machines. See the definitions of -- part_part_test_int4_ops and part_test_text_ops in insert.sql. CREATE TABLE mchash (a int, b text, c jsonb) diff --git a/src/test/regress/sql/insert.sql b/src/test/regress/sql/insert.sql index 23885f638c0..ffd4aacbc48 100644 --- a/src/test/regress/sql/insert.sql +++ b/src/test/regress/sql/insert.sql @@ -229,7 +229,7 @@ select tableoid::regclass::text, a, min(b) as min_b, max(b) as max_b from list_p -- direct partition inserts should check hash partition bound constraint -- Use hand-rolled hash functions and operator classes to get predictable --- result on different matchines. The hash function for int4 simply returns +-- result on different machines. The hash function for int4 simply returns -- the sum of the values passed to it and the one for text returns the length -- of the non-empty string value passed to it or 0. diff --git a/src/test/regress/sql/partition_prune.sql b/src/test/regress/sql/partition_prune.sql index d9daba3af30..6658455a746 100644 --- a/src/test/regress/sql/partition_prune.sql +++ b/src/test/regress/sql/partition_prune.sql @@ -300,7 +300,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru -- Test Partition pruning for HASH partitioning -- -- Use hand-rolled hash functions and operator classes to get predictable --- result on different matchines. See the definitions of +-- result on different machines. See the definitions of -- part_part_test_int4_ops and part_test_text_ops in insert.sql. --