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

Appearance settings

Commit c7f955e

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

File tree

6 files changed

+96
-3
lines changed
Filter options

6 files changed

+96
-3
lines changed

‎expected/array.out

Copy file name to clipboardExpand all lines: expected/array.out
+16Lines changed: 16 additions & 0 deletions
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
/*

‎expected/array_1.out

Copy file name to clipboardExpand all lines: expected/array_1.out
+16Lines changed: 16 additions & 0 deletions
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
/*

‎expected/array_2.out

Copy file name to clipboardExpand all lines: expected/array_2.out
+16Lines changed: 16 additions & 0 deletions
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
/*

‎expected/array_3.out

Copy file name to clipboardExpand all lines: expected/array_3.out
+16Lines changed: 16 additions & 0 deletions
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
/*

‎make_rum.txt

Copy file name to clipboard
+16Lines changed: 16 additions & 0 deletions
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

‎sql/array.sql

Copy file name to clipboardExpand all lines: sql/array.sql
+16-3Lines changed: 16 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.