Fix typo in test comment.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 28 May 2020 09:35:18 +0000 (12:35 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 28 May 2020 09:35:18 +0000 (12:35 +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 99ff6973bc8e805332884fd21efcc8f4bdfd6fea..002079601fa8ba55d2a547a9658853337f95985c 100644 (file)
@@ -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,
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 45d77ba3a5fbe388fa72e1a9017a55083d437a45..eb9d45be5e5f46981f2537310e41e3e027d21a9a 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 9c8f80da8778db9e98b283495abdf4031a4e5c66..4315e8e0a379ba32ef3e2093adf2bab0758cbe47 100644 (file)
@@ -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);
index b45ba2a322bc9d88fdec3607e52c30fae3c37619..ec272d78f8a3799cf58d8938340e0aafb91d8bb1 100644 (file)
@@ -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 (
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 d9daba3af301a25f9ee0dcc6d96c73e76ad0bb06..6658455a7461ff27bdc2479d920cd2153a56012e 100644 (file)
@@ -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.
 --