mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-13 20:29:46 +02:00
260b6afc79
which is broken in some weird way that I don't understand. I think it may be exposing a bug in the new psql --- for one thing, I get different results when I run psql by hand than the regress script gets. What the heck???
101 lines
1.6 KiB
Plaintext
101 lines
1.6 KiB
Plaintext
--
|
|
-- BTREE_INDEX
|
|
-- test retrieval of min/max keys for each index
|
|
--
|
|
SELECT b.*
|
|
FROM bt_i4_heap b
|
|
WHERE b.seqno < 1;
|
|
seqno | random
|
|
-------+------------
|
|
0 | 1935401906
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_i4_heap b
|
|
WHERE b.seqno >= 9999;
|
|
seqno | random
|
|
-------+------------
|
|
9999 | 1227676208
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_i4_heap b
|
|
WHERE b.seqno = 4500;
|
|
seqno | random
|
|
-------+------------
|
|
4500 | 2080851358
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_name_heap b
|
|
WHERE b.seqno < '1'::name;
|
|
seqno | random
|
|
-------+------------
|
|
0 | 1935401906
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_name_heap b
|
|
WHERE b.seqno >= '9999'::name;
|
|
seqno | random
|
|
-------+------------
|
|
9999 | 1227676208
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_name_heap b
|
|
WHERE b.seqno = '4500'::name;
|
|
seqno | random
|
|
-------+------------
|
|
4500 | 2080851358
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_txt_heap b
|
|
WHERE b.seqno < '1'::text;
|
|
seqno | random
|
|
-------+------------
|
|
0 | 1935401906
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_txt_heap b
|
|
WHERE b.seqno >= '9999'::text;
|
|
seqno | random
|
|
-------+------------
|
|
9999 | 1227676208
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_txt_heap b
|
|
WHERE b.seqno = '4500'::text;
|
|
seqno | random
|
|
-------+------------
|
|
4500 | 2080851358
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_f8_heap b
|
|
WHERE b.seqno < '1'::float8;
|
|
seqno | random
|
|
-------+------------
|
|
0 | 1935401906
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_f8_heap b
|
|
WHERE b.seqno >= '9999'::float8;
|
|
seqno | random
|
|
-------+------------
|
|
9999 | 1227676208
|
|
(1 row)
|
|
|
|
SELECT b.*
|
|
FROM bt_f8_heap b
|
|
WHERE b.seqno = '4500'::float8;
|
|
seqno | random
|
|
-------+------------
|
|
4500 | 2080851358
|
|
(1 row)
|
|
|