mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-18 03:23:37 +08:00
* Split SQL into functions and setup. * Remove hash-lib dependency. * Makes code into Postgresql extension.
17 lines
270 B
PL/PgSQL
17 lines
270 B
PL/PgSQL
DROP FUNCTION IF EXISTS unit_tests.example_test();
|
|
CREATE FUNCTION unit_tests.names_tests_start_set()
|
|
RETURNS test_result
|
|
AS
|
|
$$
|
|
DECLARE
|
|
message test_result;
|
|
ret_name NAME;
|
|
BEGIN
|
|
SELECT assert.ok('End of test.') INTO message;
|
|
RETURN message;
|
|
END
|
|
$$
|
|
LANGUAGE plpgsql;
|
|
|
|
|