Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / contrib / btree_gin / expected / money.out
bloba0ba571cfd4f1a5eaa79fdfe37772bcfa3b61fd1
1 set enable_seqscan=off;
2 CREATE TABLE test_money (
3         i money
4 );
5 INSERT INTO test_money VALUES ('-2'),('-1'),('0'),('1'),('2'),('3');
6 CREATE INDEX idx_money ON test_money USING gin (i);
7 SELECT * FROM test_money WHERE i<'1'::money ORDER BY i;
8    i    
9 --------
10  -$2.00
11  -$1.00
12   $0.00
13 (3 rows)
15 SELECT * FROM test_money WHERE i<='1'::money ORDER BY i;
16    i    
17 --------
18  -$2.00
19  -$1.00
20   $0.00
21   $1.00
22 (4 rows)
24 SELECT * FROM test_money WHERE i='1'::money ORDER BY i;
25    i   
26 -------
27  $1.00
28 (1 row)
30 SELECT * FROM test_money WHERE i>='1'::money ORDER BY i;
31    i   
32 -------
33  $1.00
34  $2.00
35  $3.00
36 (3 rows)
38 SELECT * FROM test_money WHERE i>'1'::money ORDER BY i;
39    i   
40 -------
41  $2.00
42  $3.00
43 (2 rows)