Skip to content

Commit 0099db4

Browse files
committed
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.
1 parent f93bb0c commit 0099db4

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/test/regress/expected/alter_table.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4000,7 +4000,7 @@ CREATE TABLE quuux2 PARTITION OF quuux FOR VALUES IN (2);
40004000
DROP TABLE quuux;
40014001
-- check validation when attaching hash partitions
40024002
-- Use hand-rolled hash functions and operator class to get predictable result
4003-
-- on different matchines. part_test_int4_ops is defined in insert.sql.
4003+
-- on different machines. part_test_int4_ops is defined in insert.sql.
40044004
-- check that the new partition won't overlap with an existing partition
40054005
CREATE TABLE hash_parted (
40064006
a int,

src/test/regress/expected/hash_part.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- Hash partitioning.
33
--
44
-- Use hand-rolled hash functions and operator classes to get predictable
5-
-- result on different matchines. See the definitions of
5+
-- result on different machines. See the definitions of
66
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
77
CREATE TABLE mchash (a int, b text, c jsonb)
88
PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops);

src/test/regress/expected/insert.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ select tableoid::regclass::text, a, min(b) as min_b, max(b) as max_b from list_p
388388

389389
-- direct partition inserts should check hash partition bound constraint
390390
-- Use hand-rolled hash functions and operator classes to get predictable
391-
-- result on different matchines. The hash function for int4 simply returns
391+
-- result on different machines. The hash function for int4 simply returns
392392
-- the sum of the values passed to it and the one for text returns the length
393393
-- of the non-empty string value passed to it or 0.
394394
create or replace function part_hashint4_noop(value int4, seed int8)

src/test/regress/expected/partition_prune.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru
15351535
-- Test Partition pruning for HASH partitioning
15361536
--
15371537
-- Use hand-rolled hash functions and operator classes to get predictable
1538-
-- result on different matchines. See the definitions of
1538+
-- result on different machines. See the definitions of
15391539
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
15401540
--
15411541
create table hp (a int, b text) partition by hash (a part_test_int4_ops, b part_test_text_ops);

src/test/regress/sql/alter_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2558,7 +2558,7 @@ DROP TABLE quuux;
25582558
-- check validation when attaching hash partitions
25592559

25602560
-- Use hand-rolled hash functions and operator class to get predictable result
2561-
-- on different matchines. part_test_int4_ops is defined in insert.sql.
2561+
-- on different machines. part_test_int4_ops is defined in insert.sql.
25622562

25632563
-- check that the new partition won't overlap with an existing partition
25642564
CREATE TABLE hash_parted (

src/test/regress/sql/hash_part.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44

55
-- Use hand-rolled hash functions and operator classes to get predictable
6-
-- result on different matchines. See the definitions of
6+
-- result on different machines. See the definitions of
77
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
88

99
CREATE TABLE mchash (a int, b text, c jsonb)

src/test/regress/sql/insert.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ select tableoid::regclass::text, a, min(b) as min_b, max(b) as max_b from list_p
229229
-- direct partition inserts should check hash partition bound constraint
230230

231231
-- Use hand-rolled hash functions and operator classes to get predictable
232-
-- result on different matchines. The hash function for int4 simply returns
232+
-- result on different machines. The hash function for int4 simply returns
233233
-- the sum of the values passed to it and the one for text returns the length
234234
-- of the non-empty string value passed to it or 0.
235235

src/test/regress/sql/partition_prune.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru
300300
-- Test Partition pruning for HASH partitioning
301301
--
302302
-- Use hand-rolled hash functions and operator classes to get predictable
303-
-- result on different matchines. See the definitions of
303+
-- result on different machines. See the definitions of
304304
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
305305
--
306306

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy