mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-07-14 06:29:16 +02:00
19 lines
564 B
Plaintext
19 lines
564 B
Plaintext
|
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(32768, (select string_agg(chr(32+(random()*96)::int), '') from generate_series(1,400)), 10000, 1);
|
||
|
test_shm_mq
|
||
|
-------------
|
||
|
|
||
|
(1 row)
|
||
|
|
||
|
SELECT test_shm_mq_pipelined(16384, (select string_agg(chr(32+(random()*96)::int), '') from generate_series(1,270000)), 200, 3);
|
||
|
test_shm_mq_pipelined
|
||
|
-----------------------
|
||
|
|
||
|
(1 row)
|
||
|
|