Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2026-04-30 9f2ef60949ced4fab4d077a7e1c6d913f3620c9b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\unset ECHO
\set QUIET 1
\pset format unaligned
\pset tuples_only true
\pset pager off
-- \set ON_ERROR_ROLLBACK 1
-- \set ON_ERROR_STOP true
BEGIN;
SET LOCAL client_min_messages = WARNING;
CREATE EXTENSION IF NOT EXISTS pg_curl;
END;
BEGIN;
select curl_easy_reset();
select curl_easy_setopt_url('https://httpbin.org/delay/2');
set statement_timeout = '1s';
select curl_easy_perform();
END;