1
0
mirror of https://github.com/timescale/timescaledb.git synced 2025-05-20 20:54:29 +08:00

Fix dump_meta_data for windows

The dump_meta_data sql script used an external call to date to get
the current data which does not work on windows. This patch changes
the script to use now() instead to get the current time and date.

Fixes 
This commit is contained in:
Sven Klemm 2022-07-27 11:06:34 +02:00 committed by Sven Klemm
parent 6db09c7f2e
commit 008c6cf371

@ -12,7 +12,7 @@
\echo '<exclude_from_test>'
\echo 'Date, git commit, and extension version can change without it being an error.'
\echo 'Adding this tag allows us to run regression tests on this script file.'
\echo `date`
select now();
\echo 'Postgres version'
select version();