Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
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;