Start background writer during archive recovery. Background writer now performs
[PostgreSQL.git] / contrib / btree_gist / sql / varchar.sql
blob8087a17704e7a8a416a73b418b053c9c179fadc0
1 -- char check
3 CREATE TABLE vchartmp (a varchar(32));
5 \copy vchartmp from 'data/char.data'
7 SET enable_seqscan=on;
9 SELECT count(*) FROM vchartmp WHERE a <   '31b0'::varchar(32);
11 SELECT count(*) FROM vchartmp WHERE a <=  '31b0'::varchar(32);
13 SELECT count(*) FROM vchartmp WHERE a  =  '31b0'::varchar(32);
15 SELECT count(*) FROM vchartmp WHERE a >=  '31b0'::varchar(32);
17 SELECT count(*) FROM vchartmp WHERE a >   '31b0'::varchar(32);
19 CREATE INDEX vcharidx ON vchartmp USING GIST ( text(a) );
21 SET enable_seqscan=off;
23 SELECT count(*) FROM vchartmp WHERE a <   '31b0'::varchar(32);
25 SELECT count(*) FROM vchartmp WHERE a <=  '31b0'::varchar(32);
27 SELECT count(*) FROM vchartmp WHERE a  =  '31b0'::varchar(32);
29 SELECT count(*) FROM vchartmp WHERE a >=  '31b0'::varchar(32);
31 SELECT count(*) FROM vchartmp WHERE a >   '31b0'::varchar(32);