Commit 0099db4c authored by Heikki Linnakangas's avatar Heikki Linnakangas

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.
parent f93bb0ce
...@@ -4000,7 +4000,7 @@ CREATE TABLE quuux2 PARTITION OF quuux FOR VALUES IN (2); ...@@ -4000,7 +4000,7 @@ CREATE TABLE quuux2 PARTITION OF quuux FOR VALUES IN (2);
DROP TABLE quuux; DROP TABLE quuux;
-- check validation when attaching hash partitions -- check validation when attaching hash partitions
-- Use hand-rolled hash functions and operator class to get predictable result -- 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 -- check that the new partition won't overlap with an existing partition
CREATE TABLE hash_parted ( CREATE TABLE hash_parted (
a int, a int,
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
-- Hash partitioning. -- Hash partitioning.
-- --
-- Use hand-rolled hash functions and operator classes to get predictable -- 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. -- part_part_test_int4_ops and part_test_text_ops in insert.sql.
CREATE TABLE mchash (a int, b text, c jsonb) CREATE TABLE mchash (a int, b text, c jsonb)
PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops); PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops);
......
...@@ -388,7 +388,7 @@ select tableoid::regclass::text, a, min(b) as min_b, max(b) as max_b from list_p ...@@ -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 -- direct partition inserts should check hash partition bound constraint
-- Use hand-rolled hash functions and operator classes to get predictable -- 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 -- 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. -- of the non-empty string value passed to it or 0.
create or replace function part_hashint4_noop(value int4, seed int8) create or replace function part_hashint4_noop(value int4, seed int8)
......
...@@ -1535,7 +1535,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru ...@@ -1535,7 +1535,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru
-- Test Partition pruning for HASH partitioning -- Test Partition pruning for HASH partitioning
-- --
-- Use hand-rolled hash functions and operator classes to get predictable -- 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. -- 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); create table hp (a int, b text) partition by hash (a part_test_int4_ops, b part_test_text_ops);
......
...@@ -2558,7 +2558,7 @@ DROP TABLE quuux; ...@@ -2558,7 +2558,7 @@ DROP TABLE quuux;
-- check validation when attaching hash partitions -- check validation when attaching hash partitions
-- Use hand-rolled hash functions and operator class to get predictable result -- 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 -- check that the new partition won't overlap with an existing partition
CREATE TABLE hash_parted ( CREATE TABLE hash_parted (
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
-- --
-- Use hand-rolled hash functions and operator classes to get predictable -- 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. -- part_part_test_int4_ops and part_test_text_ops in insert.sql.
CREATE TABLE mchash (a int, b text, c jsonb) CREATE TABLE mchash (a int, b text, c jsonb)
......
...@@ -229,7 +229,7 @@ select tableoid::regclass::text, a, min(b) as min_b, max(b) as max_b from list_p ...@@ -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 -- direct partition inserts should check hash partition bound constraint
-- Use hand-rolled hash functions and operator classes to get predictable -- 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 -- 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. -- of the non-empty string value passed to it or 0.
......
...@@ -300,7 +300,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru ...@@ -300,7 +300,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru
-- Test Partition pruning for HASH partitioning -- Test Partition pruning for HASH partitioning
-- --
-- Use hand-rolled hash functions and operator classes to get predictable -- 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. -- part_part_test_int4_ops and part_test_text_ops in insert.sql.
-- --
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment