timescaledb/tsl/test/shared/sql/build_info.sql
Sven Klemm cf04496e4b Move utility functions to _timescaledb_functions schema
To increase schema security we do not want to mix our own internal
objects with user objects. Since chunks are created in the
_timescaledb_internal schema our internal functions should live in
a different dedicated schema. This patch make the necessary
adjustments for the following functions:

- generate_uuid()
- get_git_commit()
- get_os_info()
- tsl_loaded()
2023-08-22 13:42:54 +02:00

12 lines
471 B
SQL

-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
-- Check what get_git_commit returns
SELECT pg_typeof(commit_tag) AS commit_tag_type,
pg_typeof(commit_hash) AS commit_hash_type,
length(commit_hash) AS commit_hash_length,
pg_typeof(commit_time) AS commit_time_type
FROM _timescaledb_functions.get_git_commit();