mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +08:00
Some tests contain code that only work if the build is based on a Git clone, which caused these tests to fail when Git was not available. This commit splits out those tests and only enabling them if Git is found and Git information can be retrieved.
11 lines
420 B
SQL
11 lines
420 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,
|
|
pg_typeof(commit_time) AS commit_time_type
|
|
FROM _timescaledb_internal.get_git_commit();
|
|
|