Thanks to visit codestin.com
Credit goes to github.com

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 1 commit
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
Prev Previous commit
Add comments about alternative outputs.
This comments should remind us to change the output for 32-bit
systems at the same time as the tests and 64-bit outputs.
  • Loading branch information
Ekaterina Sokolova committed Dec 11, 2024
commit 02a8d77cea827142a2c42c2679ab2ddbf53170b5
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
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_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
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_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