Skip to content

32-bit outputs #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions expected/altorder.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* altorder.out - test output for 64-bit systems and
* altorder_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE atsts (id int, t tsvector, d timestamp);
\copy atsts from 'data/tsts.data'
-- PGPRO-2537: We need more data to test rumsort.c with logtape.c
Expand Down
9 changes: 9 additions & 0 deletions expected/altorder_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* altorder.out - test output for 64-bit systems and
* altorder_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE atsts (id int, t tsvector, d timestamp);
\copy atsts from 'data/tsts.data'
-- PGPRO-2537: We need more data to test rumsort.c with logtape.c
Expand Down
9 changes: 9 additions & 0 deletions expected/altorder_hash.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* altorder_hash.out - test output for 64-bit systems and
* altorder_hash_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE atstsh (id int, t tsvector, d timestamp);
\copy atstsh from 'data/tsts.data'
CREATE INDEX atstsh_idx ON atstsh USING rum (t rum_tsvector_hash_addon_ops, d)
Expand Down
9 changes: 9 additions & 0 deletions expected/altorder_hash_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* altorder_hash.out - test output for 64-bit systems and
* altorder_hash_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE atstsh (id int, t tsvector, d timestamp);
\copy atstsh from 'data/tsts.data'
CREATE INDEX atstsh_idx ON atstsh USING rum (t rum_tsvector_hash_addon_ops, d)
Expand Down
13 changes: 6 additions & 7 deletions expected/array.out
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* ---------------------------------------------
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* array.out - test output for 64-bit systems and
* array_1.out - test output for 32-bit systems.
*
* --------------------
* array.sql and array_1.sql
* --------------------
* Test output for 64-bit and 32-bit systems respectively.
*/
set enable_seqscan=off;
set enable_sort=off;
Expand Down
13 changes: 6 additions & 7 deletions expected/array_1.out
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* ---------------------------------------------
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* array.out - test output for 64-bit systems and
* array_1.out - test output for 32-bit systems.
*
* --------------------
* array.sql and array_1.sql
* --------------------
* Test output for 64-bit and 32-bit systems respectively.
*/
set enable_seqscan=off;
set enable_sort=off;
Expand Down
9 changes: 9 additions & 0 deletions expected/float8.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* float8.out - test output for 64-bit systems and
* float8_1.out - test output for 32-bit systems.
*
*/
set enable_seqscan=off;
CREATE TABLE test_float8 (
i float8
Expand Down
9 changes: 9 additions & 0 deletions expected/float8_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* float8.out - test output for 64-bit systems and
* float8_1.out - test output for 32-bit systems.
*
*/
set enable_seqscan=off;
CREATE TABLE test_float8 (
i float8
Expand Down
9 changes: 9 additions & 0 deletions expected/int8.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* int8.out - test output for 64-bit systems and
* int8_1.out - test output for 32-bit systems.
*
*/
set enable_seqscan=off;
CREATE TABLE test_int8 (
i int8
Expand Down
9 changes: 9 additions & 0 deletions expected/int8_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* int8.out - test output for 64-bit systems and
* int8_1.out - test output for 32-bit systems.
*
*/
set enable_seqscan=off;
CREATE TABLE test_int8 (
i int8
Expand Down
9 changes: 9 additions & 0 deletions expected/money.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* money.out - test output for 64-bit systems and
* money_1.out - test output for 32-bit systems.
*
*/
set enable_seqscan=off;
CREATE TABLE test_money (
i money
Expand Down
9 changes: 9 additions & 0 deletions expected/money_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* money.out - test output for 64-bit systems and
* money_1.out - test output for 32-bit systems.
*
*/
set enable_seqscan=off;
CREATE TABLE test_money (
i money
Expand Down
9 changes: 9 additions & 0 deletions expected/orderby.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* orderby.out - test output for 64-bit systems and
* orderby_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE tsts (id int, t tsvector, d timestamp);
\copy tsts from 'data/tsts.data'
CREATE INDEX tsts_idx ON tsts USING rum (t rum_tsvector_addon_ops, d)
Expand Down
14 changes: 14 additions & 0 deletions expected/orderby_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* orderby.out - test output for 64-bit systems and
* orderby_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE tsts (id int, t tsvector, d timestamp);
\copy tsts from 'data/tsts.data'
CREATE INDEX tsts_idx ON tsts USING rum (t rum_tsvector_addon_ops, d)
Expand Down Expand Up @@ -420,6 +429,11 @@ SELECT id, d FROM tsts WHERE t @@ 'wr&qh' AND d >= '2016-05-16 14:21:25' ORDER
458 | Fri May 20 21:21:22.326724 2016
(3 rows)

-- Test "ORDER BY" error message
DROP INDEX tsts_idx;
CREATE INDEX tsts_idx ON tsts USING rum (t rum_tsvector_addon_ops, d);
SELECT id, d, d <=> '2016-05-16 14:21:25' FROM tsts WHERE t @@ 'wr&qh' ORDER BY d <=> '2016-05-16 14:21:25' LIMIT 5;
ERROR: doesn't support order by over pass-by-reference column
-- Test multicolumn index
RESET enable_indexscan;
RESET enable_indexonlyscan;
Expand Down
9 changes: 9 additions & 0 deletions expected/orderby_hash.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* orderby_hash.out - test output for 64-bit systems and
* orderby_hash_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE tstsh (id int, t tsvector, d timestamp);
\copy tstsh from 'data/tsts.data'
CREATE INDEX tstsh_idx ON tstsh USING rum (t rum_tsvector_hash_addon_ops, d)
Expand Down
9 changes: 9 additions & 0 deletions expected/orderby_hash_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* orderby_hash.out - test output for 64-bit systems and
* orderby_hash_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE tstsh (id int, t tsvector, d timestamp);
\copy tstsh from 'data/tsts.data'
CREATE INDEX tstsh_idx ON tstsh USING rum (t rum_tsvector_hash_addon_ops, d)
Expand Down
9 changes: 9 additions & 0 deletions expected/timestamp.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* timestamp.out - test output for 64-bit systems and
* timestamp_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE test_timestamp (
i timestamp
);
Expand Down
9 changes: 9 additions & 0 deletions expected/timestamp_1.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* timestamp.out - test output for 64-bit systems and
* timestamp_1.out - test output for 32-bit systems.
*
*/
CREATE TABLE test_timestamp (
i timestamp
);
Expand Down
11 changes: 11 additions & 0 deletions sql/altorder.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* altorder.out - test output for 64-bit systems and
* altorder_1.out - test output for 32-bit systems.
*
*/


CREATE TABLE atsts (id int, t tsvector, d timestamp);

\copy atsts from 'data/tsts.data'
Expand Down
11 changes: 11 additions & 0 deletions sql/altorder_hash.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* altorder_hash.out - test output for 64-bit systems and
* altorder_hash_1.out - test output for 32-bit systems.
*
*/


CREATE TABLE atstsh (id int, t tsvector, d timestamp);

\copy atstsh from 'data/tsts.data'
Expand Down
13 changes: 6 additions & 7 deletions sql/array.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*
* ---------------------------------------------
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* array.out - test output for 64-bit systems and
* array_1.out - test output for 32-bit systems.
*
* --------------------
* array.sql and array_1.sql
* --------------------
* Test output for 64-bit and 32-bit systems respectively.
*/


Expand Down
11 changes: 11 additions & 0 deletions sql/float8.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* float8.out - test output for 64-bit systems and
* float8_1.out - test output for 32-bit systems.
*
*/


set enable_seqscan=off;

CREATE TABLE test_float8 (
Expand Down
11 changes: 11 additions & 0 deletions sql/int8.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* int8.out - test output for 64-bit systems and
* int8_1.out - test output for 32-bit systems.
*
*/


set enable_seqscan=off;

CREATE TABLE test_int8 (
Expand Down
11 changes: 11 additions & 0 deletions sql/money.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* money.out - test output for 64-bit systems and
* money_1.out - test output for 32-bit systems.
*
*/


set enable_seqscan=off;

CREATE TABLE test_money (
Expand Down
11 changes: 11 additions & 0 deletions sql/orderby.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* orderby.out - test output for 64-bit systems and
* orderby_1.out - test output for 32-bit systems.
*
*/


CREATE TABLE tsts (id int, t tsvector, d timestamp);

\copy tsts from 'data/tsts.data'
Expand Down
11 changes: 11 additions & 0 deletions sql/orderby_hash.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* orderby_hash.out - test output for 64-bit systems and
* orderby_hash_1.out - test output for 32-bit systems.
*
*/


CREATE TABLE tstsh (id int, t tsvector, d timestamp);

\copy tstsh from 'data/tsts.data'
Expand Down
10 changes: 10 additions & 0 deletions sql/timestamp.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* ------------------------------------
* NOTE: This test behaves differenly
* ------------------------------------
*
* timestamp.out - test output for 64-bit systems and
* timestamp_1.out - test output for 32-bit systems.
*
*/


CREATE TABLE test_timestamp (
i timestamp
Expand Down