From 008c6cf37187ed706e3abab67305f60721fd0cae Mon Sep 17 00:00:00 2001 From: Sven Klemm Date: Wed, 27 Jul 2022 11:06:34 +0200 Subject: [PATCH] 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 #3674 --- scripts/dump_meta_data.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dump_meta_data.sql b/scripts/dump_meta_data.sql index 4eca02697..9744cd18c 100644 --- a/scripts/dump_meta_data.sql +++ b/scripts/dump_meta_data.sql @@ -12,7 +12,7 @@ \echo '' \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();