aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_shm_mq/expected/test_shm_mq.out
blob: c4858b0c20531421e61b4d1482d04393ba91f6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
CREATE EXTENSION test_shm_mq;
--
-- These tests don't produce any interesting output.  We're checking that
-- the operations complete without crashing or hanging and that none of their
-- internal sanity tests fail.
--
SELECT test_shm_mq(1024, '', 2000, 1);
 test_shm_mq 
-------------
 
(1 row)

SELECT test_shm_mq(1024, 'a', 2001, 1);
 test_shm_mq 
-------------
 
(1 row)

SELECT test_shm_mq(32768, (select string_agg(chr(32+(random()*95)::int), '') from generate_series(1,(100+900*random())::int)), 10000, 1);
 test_shm_mq 
-------------
 
(1 row)

SELECT test_shm_mq(100, (select string_agg(chr(32+(random()*95)::int), '') from generate_series(1,(100+200*random())::int)), 10000, 1);
 test_shm_mq 
-------------
 
(1 row)

SELECT test_shm_mq_pipelined(16384, (select string_agg(chr(32+(random()*95)::int), '') from generate_series(1,270000)), 200, 3);
 test_shm_mq_pipelined 
-----------------------
 
(1 row)