mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Update comments to match location of definition
Commit cc50080a82 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
			
			
This commit is contained in:
		@@ -4209,7 +4209,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 machines. part_test_int4_ops is defined in insert.sql.
 | 
			
		||||
-- on different machines. part_test_int4_ops is defined in test_setup.sql.
 | 
			
		||||
-- check that the new partition won't overlap with an existing partition
 | 
			
		||||
CREATE TABLE hash_parted (
 | 
			
		||||
	a int,
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
--
 | 
			
		||||
-- Use hand-rolled hash functions and operator classes to get predictable
 | 
			
		||||
-- result on different machines.  See the definitions of
 | 
			
		||||
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
 | 
			
		||||
-- part_test_int4_ops and part_test_text_ops in test_setup.sql.
 | 
			
		||||
CREATE TABLE mchash (a int, b text, c jsonb)
 | 
			
		||||
  PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops);
 | 
			
		||||
CREATE TABLE mchash1
 | 
			
		||||
 
 | 
			
		||||
@@ -1741,7 +1741,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, iboolpart, boolrangep, r
 | 
			
		||||
--
 | 
			
		||||
-- Use hand-rolled hash functions and operator classes to get predictable
 | 
			
		||||
-- result on different machines.  See the definitions of
 | 
			
		||||
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
 | 
			
		||||
-- part_test_int4_ops and part_test_text_ops in test_setup.sql.
 | 
			
		||||
--
 | 
			
		||||
create table hp (a int, b text, c int)
 | 
			
		||||
  partition by hash (a part_test_int4_ops, b part_test_text_ops);
 | 
			
		||||
 
 | 
			
		||||
@@ -2676,7 +2676,7 @@ DROP TABLE quuux;
 | 
			
		||||
-- check validation when attaching hash partitions
 | 
			
		||||
 | 
			
		||||
-- Use hand-rolled hash functions and operator class to get predictable result
 | 
			
		||||
-- on different machines. part_test_int4_ops is defined in insert.sql.
 | 
			
		||||
-- on different machines. part_test_int4_ops is defined in test_setup.sql.
 | 
			
		||||
 | 
			
		||||
-- check that the new partition won't overlap with an existing partition
 | 
			
		||||
CREATE TABLE hash_parted (
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
 | 
			
		||||
-- Use hand-rolled hash functions and operator classes to get predictable
 | 
			
		||||
-- result on different machines.  See the definitions of
 | 
			
		||||
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
 | 
			
		||||
-- part_test_int4_ops and part_test_text_ops in test_setup.sql.
 | 
			
		||||
 | 
			
		||||
CREATE TABLE mchash (a int, b text, c jsonb)
 | 
			
		||||
  PARTITION BY HASH (a part_test_int4_ops, b part_test_text_ops);
 | 
			
		||||
 
 | 
			
		||||
@@ -337,7 +337,7 @@ drop table lp, coll_pruning, rlp, mc3p, mc2p, boolpart, iboolpart, boolrangep, r
 | 
			
		||||
--
 | 
			
		||||
-- Use hand-rolled hash functions and operator classes to get predictable
 | 
			
		||||
-- result on different machines.  See the definitions of
 | 
			
		||||
-- part_part_test_int4_ops and part_test_text_ops in insert.sql.
 | 
			
		||||
-- part_test_int4_ops and part_test_text_ops in test_setup.sql.
 | 
			
		||||
--
 | 
			
		||||
 | 
			
		||||
create table hp (a int, b text, c int)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user