Skip to content

Commit c7f955e

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

File tree

6 files changed

+96
-3
lines changed

6 files changed

+96
-3
lines changed

Diff for: expected/array.out

+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
/*

Diff for: expected/array_1.out

+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
/*

Diff for: expected/array_2.out

+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
/*

Diff for: expected/array_3.out

+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
/*

Diff for: make_rum.txt

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumsort.o src/rumsort.c -MMD -MP -MF .deps/rumsort.Po
2+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rum_ts_utils.o src/rum_ts_utils.c -MMD -MP -MF .deps/rum_ts_utils.Po
3+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumtsquery.o src/rumtsquery.c -MMD -MP -MF .deps/rumtsquery.Po
4+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumbtree.o src/rumbtree.c -MMD -MP -MF .deps/rumbtree.Po
5+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumbulk.o src/rumbulk.c -MMD -MP -MF .deps/rumbulk.Po
6+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumdatapage.o src/rumdatapage.c -MMD -MP -MF .deps/rumdatapage.Po
7+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumentrypage.o src/rumentrypage.c -MMD -MP -MF .deps/rumentrypage.Po
8+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumget.o src/rumget.c -MMD -MP -MF .deps/rumget.Po
9+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/ruminsert.o src/ruminsert.c -MMD -MP -MF .deps/ruminsert.Po
10+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumscan.o src/rumscan.c -MMD -MP -MF .deps/rumscan.Po
11+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumutil.o src/rumutil.c -MMD -MP -MF .deps/rumutil.Po
12+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumvacuum.o src/rumvacuum.c -MMD -MP -MF .deps/rumvacuum.Po
13+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rumvalidate.o src/rumvalidate.c -MMD -MP -MF .deps/rumvalidate.Po
14+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/btree_rum.o src/btree_rum.c -MMD -MP -MF .deps/btree_rum.Po
15+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -I. -I./ -I/home/dev/code/postgrespro2/install/include/server -I/home/dev/code/postgrespro2/install/include/internal -D_GNU_SOURCE -c -o src/rum_arr_utils.o src/rum_arr_utils.c -MMD -MP -MF .deps/rum_arr_utils.Po
16+
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -ggdb -O0 -g3 -fno-omit-frame-pointer -fPIC -fvisibility=hidden -shared -o rum.so src/rumsort.o src/rum_ts_utils.o src/rumtsquery.o src/rumbtree.o src/rumbulk.o src/rumdatapage.o src/rumentrypage.o src/rumget.o src/ruminsert.o src/rumscan.o src/rumutil.o src/rumvacuum.o src/rumvalidate.o src/btree_rum.o src/rum_arr_utils.o -L/home/dev/code/postgrespro2/install/lib -Wl,--as-needed -Wl,-rpath,'/home/dev/code/postgrespro2/install/lib',--enable-new-dtags -lm -fvisibility=hidden

Diff for: sql/array.sql

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
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;
3-
4-
519
/*
620
* Complete checks for int2[].
721
*/
8-
922
CREATE TABLE test_array (
1023
i int2[]
1124
);

0 commit comments

Comments
 (0)