Skip to content

Commit 92d30be

Browse files
author
Potapov Alexander
committed
PGPRO-10316 Add explanation on expected resluts of the 'array' test
1 parent 7ba9e77 commit 92d30be

File tree

5 files changed

+92
-0
lines changed

5 files changed

+92
-0
lines changed

Diff for: expected/array.out

+19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1+
/*
2+
* ---------------------------------------------
3+
* NOTE: This test behaves differenly on PgPro
4+
* ---------------------------------------------
5+
*
6+
* --------------------
7+
* array.sql and array_1.sql
8+
* --------------------
9+
* Test output for 64-bit and 32-bit systems respectively.
10+
*
11+
* --------------------
12+
* array_2.sql and array_3.sql
13+
* --------------------
14+
* Since 6ed83d5fa55c in PostgreSQL 17, the order of rows
15+
* in the output has been changed.
16+
*/
117
set enable_seqscan=off;
218
set enable_sort=off;
19+
20+
321
/*
422
* Complete checks for int2[].
523
*/
24+
625
CREATE TABLE test_array (
726
i int2[]
827
);

Diff for: expected/array_1.out

+19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1+
/*
2+
* ---------------------------------------------
3+
* NOTE: This test behaves differenly on PgPro
4+
* ---------------------------------------------
5+
*
6+
* --------------------
7+
* array.sql and array_1.sql
8+
* --------------------
9+
* Test output for 64-bit and 32-bit systems respectively.
10+
*
11+
* --------------------
12+
* array_2.sql and array_3.sql
13+
* --------------------
14+
* Since 6ed83d5fa55c in PostgreSQL 17, the order of rows
15+
* in the output has been changed.
16+
*/
117
set enable_seqscan=off;
218
set enable_sort=off;
19+
20+
321
/*
422
* Complete checks for int2[].
523
*/
24+
625
CREATE TABLE test_array (
726
i int2[]
827
);

Diff for: expected/array_2.out

+19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1+
/*
2+
* ---------------------------------------------
3+
* NOTE: This test behaves differenly on PgPro
4+
* ---------------------------------------------
5+
*
6+
* --------------------
7+
* array.sql and array_1.sql
8+
* --------------------
9+
* Test output for 64-bit and 32-bit systems respectively.
10+
*
11+
* --------------------
12+
* array_2.sql and array_3.sql
13+
* --------------------
14+
* Since 6ed83d5fa55c in PostgreSQL 17, the order of rows
15+
* in the output has been changed.
16+
*/
117
set enable_seqscan=off;
218
set enable_sort=off;
19+
20+
321
/*
422
* Complete checks for int2[].
523
*/
24+
625
CREATE TABLE test_array (
726
i int2[]
827
);

Diff for: expected/array_3.out

+19
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
1+
/*
2+
* ---------------------------------------------
3+
* NOTE: This test behaves differenly on PgPro
4+
* ---------------------------------------------
5+
*
6+
* --------------------
7+
* array.sql and array_1.sql
8+
* --------------------
9+
* Test output for 64-bit and 32-bit systems respectively.
10+
*
11+
* --------------------
12+
* array_2.sql and array_3.sql
13+
* --------------------
14+
* Since 6ed83d5fa55c in PostgreSQL 17, the order of rows
15+
* in the output has been changed.
16+
*/
117
set enable_seqscan=off;
218
set enable_sort=off;
19+
20+
321
/*
422
* Complete checks for int2[].
523
*/
24+
625
CREATE TABLE test_array (
726
i int2[]
827
);

Diff for: sql/array.sql

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* ---------------------------------------------
3+
* NOTE: This test behaves differenly on PgPro
4+
* ---------------------------------------------
5+
*
6+
* --------------------
7+
* array.sql and array_1.sql
8+
* --------------------
9+
* Test output for 64-bit and 32-bit systems respectively.
10+
*
11+
* --------------------
12+
* array_2.sql and array_3.sql
13+
* --------------------
14+
* Since 6ed83d5fa55c in PostgreSQL 17, the order of rows
15+
* in the output has been changed.
16+
*/
117
set enable_seqscan=off;
218
set enable_sort=off;
319

0 commit comments

Comments
 (0)