mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
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.
This commit is contained in:
parent
f93bb0ce64
commit
0099db4ce1
@ -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,
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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 (
|
||||
|
@ -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)
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
--
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user