Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit aca17fe

Browse files
Update comments to match location of definition
Commit cc50080 rearranged testsuites to reduce dependencies, but missed to update a comment when moving an operator class definition. Also fix a typo in that same comment while here. Author: Suraj Kharage <suraj.kharage@enterprisedb.com> Discussion: https://postgr.es/m/CAF1DzPWXd2yq9_=P905cEypMVKw3ho+Fpj4HwJ4ta8T-eh+Yig@mail.gmail.com
1 parent 59cbf60 commit aca17fe

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/test/regress/expected/alter_table.out

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

src/test/regress/expected/hash_part.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44
-- Use hand-rolled hash functions and operator classes to get predictable
55
-- result on different machines. See the definitions of
6-
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
6+
-- part_test_int4_ops and part_test_text_ops in test_setup.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);
99
CREATE TABLE mchash1

src/test/regress/expected/partition_prune.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, iboolpart, boolrangep, r
17411741
--
17421742
-- Use hand-rolled hash functions and operator classes to get predictable
17431743
-- result on different machines. See the definitions of
1744-
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
1744+
-- part_test_int4_ops and part_test_text_ops in test_setup.sql.
17451745
--
17461746
create table hp (a int, b text, c int)
17471747
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
@@ -2676,7 +2676,7 @@ DROP TABLE quuux;
26762676
-- check validation when attaching hash partitions
26772677

26782678
-- Use hand-rolled hash functions and operator class to get predictable result
2679-
-- on different machines. part_test_int4_ops is defined in insert.sql.
2679+
-- on different machines. part_test_int4_ops is defined in test_setup.sql.
26802680

26812681
-- check that the new partition won't overlap with an existing partition
26822682
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
@@ -4,7 +4,7 @@
44

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

99
CREATE TABLE mchash (a int, b text, c jsonb)
1010
PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops);

src/test/regress/sql/partition_prune.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, iboolpart, boolrangep, r
337337
--
338338
-- Use hand-rolled hash functions and operator classes to get predictable
339339
-- result on different machines. See the definitions of
340-
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
340+
-- part_test_int4_ops and part_test_text_ops in test_setup.sql.
341341
--
342342

343343
create table hp (a int, b text, c int)

0 commit comments

Comments
 (0)