Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CREATE EXTENSION test_ginpostinglist;
--
-- All the logic is in the test_ginpostinglist() function. It will throw
-- an error if something fails.
--
SELECT test_ginpostinglist();
NOTICE:  testing with (0, 1), (0, 2), max 14 bytes
NOTICE:  encoded 2 item pointers to 10 bytes
NOTICE:  testing with (0, 1), (0, 291), max 14 bytes
NOTICE:  encoded 2 item pointers to 10 bytes
NOTICE:  testing with (0, 1), (4294967294, 291), max 14 bytes
NOTICE:  encoded 1 item pointers to 8 bytes
NOTICE:  testing with (0, 1), (4294967294, 291), max 16 bytes
NOTICE:  encoded 2 item pointers to 16 bytes
 test_ginpostinglist 
---------------------
 
(1 row)