2 CREATE TABLE chartmp (a char(32));
3 \copy chartmp from 'data/char.data'
5 SELECT count(*) FROM chartmp WHERE a < '31b0'::char(32);
11 SELECT count(*) FROM chartmp WHERE a <= '31b0'::char(32);
17 SELECT count(*) FROM chartmp WHERE a = '31b0'::char(32);
23 SELECT count(*) FROM chartmp WHERE a >= '31b0'::char(32);
29 SELECT count(*) FROM chartmp WHERE a > '31b0'::char(32);
35 CREATE INDEX charidx ON chartmp USING GIST ( a );
36 SET enable_seqscan=off;
37 SELECT count(*) FROM chartmp WHERE a < '31b0'::char(32);
43 SELECT count(*) FROM chartmp WHERE a <= '31b0'::char(32);
49 SELECT count(*) FROM chartmp WHERE a = '31b0'::char(32);
55 SELECT count(*) FROM chartmp WHERE a >= '31b0'::char(32);
61 SELECT count(*) FROM chartmp WHERE a > '31b0'::char(32);