Fix typo in test comment.
authorHeikki Linnakangas
Thu, 28 May 2020 09:35:18 +0000 (12:35 +0300)
committerHeikki Linnakangas
Thu, 28 May 2020 09:37:42 +0000 (12:37 +0300)
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
src/test/regress/expected/hash_part.out
src/test/regress/expected/insert.out
src/test/regress/expected/partition_prune.out
src/test/regress/sql/alter_table.sql
src/test/regress/sql/hash_part.sql
src/test/regress/sql/insert.sql
src/test/regress/sql/partition_prune.sql

index f7a25764e5daff0c106177e9c75fe5723decf04f..7d6a7f39240d33fb4c6f4c62132b0552fe414f6c 100644 (file)
@@ -3884,7 +3884,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,
index 8db316be27e4d85d55b1e6d2d3c416dc5425a8ce..91ec7c6f589cc48daa1d712af5a4a4d0e93acac5 100644 (file)
@@ -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);
index 75e25cdf48477c8b96920d065e10e41e70ecffe7..38d6f75dcdcd2cf7741a9a23326d90b0a053b2cf 100644 (file)
@@ -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)
index 95fbdcfa8e088bff6a100ba19bd40ee50bc39a12..66fcf85441f56b6583afd4786d0a26f8faf934e8 100644 (file)
@@ -1494,7 +1494,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);
index 88e36ea32ae164891f33134d8fffba4dcbbe895c..dcd561ef79cbdd56d1e7a74c9ba15179239f3c02 100644 (file)
@@ -2525,7 +2525,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 (
index 30601b913e0eebd7d2d9372ca02f3e14b0bcacbd..e7eb36542cc3390b5638244e8e41578f13779234 100644 (file)
@@ -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)
index 23885f638c0851d3f223cbabf0ede7cf255c426c..ffd4aacbc48b1ce180e5c7270e19d591087b7b03 100644 (file)
@@ -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.
 
index edc59e00750061a0b181cc5173790c26e315f16e..68f217efac2a59b10f22837d65368af4d4fa9a94 100644 (file)
@@ -287,7 +287,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.
 --