Start background writer during archive recovery. Background writer now performs
[PostgreSQL.git] / contrib / btree_gist / sql / int4.sql
blob2f80c5afd1b60c4474acc9b801eee42e1f422cf8
1 -- int4 check
3 CREATE TABLE int4tmp (a int4);
5 \copy int4tmp from 'data/int2.data'
7 SET enable_seqscan=on;
9 SELECT count(*) FROM int4tmp WHERE a <  237;
11 SELECT count(*) FROM int4tmp WHERE a <= 237;
13 SELECT count(*) FROM int4tmp WHERE a  = 237;
15 SELECT count(*) FROM int4tmp WHERE a >= 237;
17 SELECT count(*) FROM int4tmp WHERE a >  237;
19 CREATE INDEX int4idx ON int4tmp USING gist ( a );
21 SET enable_seqscan=off;
23 SELECT count(*) FROM int4tmp WHERE a <  237::int4;
25 SELECT count(*) FROM int4tmp WHERE a <= 237::int4;
27 SELECT count(*) FROM int4tmp WHERE a  = 237::int4;
29 SELECT count(*) FROM int4tmp WHERE a >= 237::int4;
31 SELECT count(*) FROM int4tmp WHERE a >  237::int4;