mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 18:13:18 +08:00
This changes the license text for SQL files to be identical with the license text for C files.
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
-- This file and its contents are licensed under the Apache License 2.0.
|
|
-- Please see the included NOTICE for copyright information and
|
|
-- LICENSE-APACHE for a copy of the license.
|
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
|
CREATE OR REPLACE FUNCTION _timescaledb_internal.test_http_parsing(int) RETURNS VOID
|
|
AS :MODULE_PATHNAME, 'ts_test_http_parsing' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
|
|
CREATE OR REPLACE FUNCTION _timescaledb_internal.test_http_parsing_full() RETURNS VOID
|
|
AS :MODULE_PATHNAME, 'ts_test_http_parsing_full' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
|
|
CREATE OR REPLACE FUNCTION _timescaledb_internal.test_http_request_build() RETURNS VOID
|
|
AS :MODULE_PATHNAME, 'ts_test_http_request_build' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
|
|
CREATE OR REPLACE FUNCTION _timescaledb_internal.test_conn() RETURNS VOID
|
|
AS :MODULE_PATHNAME, 'ts_test_conn' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
|
|
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
|
|
SELECT _timescaledb_internal.test_http_parsing(10000);
|
|
test_http_parsing
|
|
-------------------
|
|
|
|
(1 row)
|
|
|
|
SELECT _timescaledb_internal.test_http_parsing_full();
|
|
test_http_parsing_full
|
|
------------------------
|
|
|
|
(1 row)
|
|
|
|
SELECT _timescaledb_internal.test_http_request_build();
|
|
test_http_request_build
|
|
-------------------------
|
|
|
|
(1 row)
|
|
|
|
SELECT _timescaledb_internal.test_conn();
|
|
test_conn
|
|
-----------
|
|
|
|
(1 row)
|
|
|