Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit169a658

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 parent98cab3e commit169a658

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
@@ -3884,7 +3884,7 @@ CREATE TABLE quuux2 PARTITION OF quuux FOR VALUES IN (2);
38843884
DROP TABLE quuux;
38853885
-- check validation when attaching hash partitions
38863886
-- Use hand-rolled hash functions and operator class to get predictable result
3887-
-- on differentmatchines. part_test_int4_ops is defined in insert.sql.
3887+
-- on differentmachines. part_test_int4_ops is defined in insert.sql.
38883888
-- check that the new partition won't overlap with an existing partition
38893889
CREATE TABLE hash_parted (
38903890
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 differentmatchines. See the definitions of
5+
-- result on differentmachines. 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 differentmatchines. The hash function for int4 simply returns
391+
-- result on differentmachines. 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
@@ -1494,7 +1494,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru
14941494
-- Test Partition pruning for HASH partitioning
14951495
--
14961496
-- Use hand-rolled hash functions and operator classes to get predictable
1497-
-- result on differentmatchines. See the definitions of
1497+
-- result on differentmachines. See the definitions of
14981498
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
14991499
--
15001500
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
@@ -2525,7 +2525,7 @@ DROP TABLE quuux;
25252525
-- check validation when attaching hash partitions
25262526

25272527
-- Use hand-rolled hash functions and operator class to get predictable result
2528-
-- on differentmatchines. part_test_int4_ops is defined in insert.sql.
2528+
-- on differentmachines. part_test_int4_ops is defined in insert.sql.
25292529

25302530
-- check that the new partition won't overlap with an existing partition
25312531
CREATETABLEhash_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 differentmatchines. See the definitions of
6+
-- result on differentmachines. See the definitions of
77
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
88

99
CREATETABLEmchash (aint, btext, 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 differentmatchines. The hash function for int4 simply returns
232+
-- result on differentmachines. 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
@@ -287,7 +287,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, boolrangep, rp, coll_pru
287287
-- Test Partition pruning for HASH partitioning
288288
--
289289
-- Use hand-rolled hash functions and operator classes to get predictable
290-
-- result on differentmatchines. See the definitions of
290+
-- result on differentmachines. See the definitions of
291291
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
292292
--
293293

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp