From 37f5aac3460a74ce79b260b0f6d4e4aa362c68bc Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 15 Jul 2024 18:50:54 +0200 Subject: [PATCH] Fix LANG --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 27d2f84..15f28c2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -246,7 +246,7 @@ myynh_execute_psql_as_root() { database="--dbname=$database" fi - sudo --login --user=postgres PGUSER=postgres PGPASSWORD="$(cat $PSQL_ROOT_PWD_FILE)" \ + LC_ALL=C sudo --login --user=postgres PGUSER=postgres PGPASSWORD="$(cat $PSQL_ROOT_PWD_FILE)" \ psql --cluster="$(postgresql_version)/main" "$database" --command="$sql" }