Commit 2d6b1f29 authored by Tom Lane's avatar Tom Lane

Update incorrect expected file. Use 'timestamp without time zone'

datatype in test, to try to avoid any dependency on local time zone.
parent 1226816e
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\set ECHO none \set ECHO none
create table inttmp (b int4); create table inttmp (b int4);
\copy inttmp from 'data/test_btree.data' \copy inttmp from 'data/test_btree.data'
create table tstmp ( t datetime ); create table tstmp ( t timestamp without time zone );
\copy tstmp from 'data/test_btree_ts.data' \copy tstmp from 'data/test_btree_ts.data'
-- without idx -- without idx
select count(*) from inttmp where b <=10; select count(*) from inttmp where b <=10;
...@@ -14,10 +14,10 @@ select count(*) from inttmp where b <=10; ...@@ -14,10 +14,10 @@ select count(*) from inttmp where b <=10;
11 11
(1 row) (1 row)
select count(*) from tstmp where t < '2001-05-29 08:33:09+04'; select count(*) from tstmp where t < '2001-05-29 08:33:09';
count count
------- -------
7 66
(1 row) (1 row)
-- create idx -- create idx
...@@ -31,9 +31,9 @@ select count(*) from inttmp where b <=10; ...@@ -31,9 +31,9 @@ select count(*) from inttmp where b <=10;
11 11
(1 row) (1 row)
select count(*) from tstmp where t < '2001-05-29 08:33:09+04'; select count(*) from tstmp where t < '2001-05-29 08:33:09';
count count
------- -------
7 66
(1 row) (1 row)
...@@ -10,7 +10,7 @@ create table inttmp (b int4); ...@@ -10,7 +10,7 @@ create table inttmp (b int4);
\copy inttmp from 'data/test_btree.data' \copy inttmp from 'data/test_btree.data'
create table tstmp ( t datetime ); create table tstmp ( t timestamp without time zone );
\copy tstmp from 'data/test_btree_ts.data' \copy tstmp from 'data/test_btree_ts.data'
...@@ -18,7 +18,7 @@ create table tstmp ( t datetime ); ...@@ -18,7 +18,7 @@ create table tstmp ( t datetime );
select count(*) from inttmp where b <=10; select count(*) from inttmp where b <=10;
select count(*) from tstmp where t < '2001-05-29 08:33:09+04'; select count(*) from tstmp where t < '2001-05-29 08:33:09';
-- create idx -- create idx
...@@ -32,5 +32,5 @@ set enable_seqscan=off; ...@@ -32,5 +32,5 @@ set enable_seqscan=off;
select count(*) from inttmp where b <=10; select count(*) from inttmp where b <=10;
select count(*) from tstmp where t < '2001-05-29 08:33:09+04'; select count(*) from tstmp where t < '2001-05-29 08:33:09';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment