postgresql: remove left-over LC_ALL environment variable

This was introduced in 65fd8f3f48 around 20 years
ago as LANG=en_US, later changed to LC_ALL=en_US and LC_ALL=C to avoid bash
warnings. This might have been relevant to run initdb during the check phase, but
the PostgreSQL docs [1] say this today:

  For implementation reasons, setting LC_ALL does not work for this purpose

Therefore it can be removed safely.

[1]: https://www.postgresql.org/docs/current/regress-run.html#REGRESS-RUN-LOCALE
This commit is contained in:
Wolfgang Walther 2024-03-06 19:07:41 +01:00
parent 154215cfd8
commit c3c52231f0
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -131,8 +131,6 @@ let
installTargets = [ "install-world" ];
LC_ALL = "C";
postPatch = ''
# Hardcode the path to pgxs so pg_config returns the path in $out
substituteInPlace "src/common/config_info.c" --subst-var out