]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
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:37:55 +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 17b37708128e35c6e940a5f039694810d578ff56..13f4f1dc4d3b806d59218af8e9f600bda5683aea 100644 (file)
@@ -3910,7 +3910,7 @@ INFO:  updated partition constraint for default partition "quuux_default1" is im
 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 731d26fc3d8bcf4f9d68a0cc4ff2bae2881cd39a..247dec50dc2086a5c8e5951360c12c90e696cb3d 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 2d909972ff37f45b0565a09cfd7812fea4943e1b..7dda34b6082023b04ac09973ac49856aedcc9399 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 46a4df8869497deedfed3d79907574bd49957639..9d0a3fceddf19ca9fb5e3010921530aa71491f53 100644 (file)
@@ -1529,7 +1529,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 b211a2b90b4a845b3753cf9e15f4a2290e1f903c..cda8e9aae52219c5d924478927ad18a062bc9588 100644 (file)
@@ -2513,7 +2513,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 f457ac344c577b927a59adc22b5255eb92897172..07dead85afce7c2c7a64727930222ff4045667c2 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 9011b5054573994d4db515e697358949c99bc729..7a4c66f3c7b866bef9b49eebc42d3d9000890fe1 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.
 --