timescaledb/test/unit/examples_test.sql
Erik Nordström 7b94c573ba Refactor directory structure and tests
- Directory structure now matches common practices
- Regression tests now run with pg_regress via the PGXS infrastructure.
- Unit tests do not integrate well with pg_regress and have to be run
  separately.
- Docker functionality is separate from main Makefile. Run with
  `make -f docker.mk` to build and `make -f docker.mk run` to run
  the database in a container.
2017-01-31 20:14:19 +01:00

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;