diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-08-08 12:16:01 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-08-08 12:16:01 -0400 |
commit | dfab37100de1127595b4f1f6949137bfea355c22 (patch) | |
tree | 608cdcd22b6b4e515ffcc5dd50990426e920fc78 | |
parent | a2398bf8b6413338faeb75cbb40a347be0741972 (diff) | |
download | postgresql-dfab37100de1127595b4f1f6949137bfea355c22.tar.gz postgresql-dfab37100de1127595b4f1f6949137bfea355c22.zip |
Stabilize output of new regression test.
Per buildfarm, the output order of \dx+ isn't consistent across
locales. Apply NO_LOCALE to force C locale. There might be a
more localized way, but I'm not seeing it offhand, and anyway
there is nothing in this test module that particularly cares
about locales.
Security: CVE-2022-2625
-rw-r--r-- | src/test/modules/test_extensions/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/modules/test_extensions/Makefile b/src/test/modules/test_extensions/Makefile index 7428f15ae36..07c26dd0550 100644 --- a/src/test/modules/test_extensions/Makefile +++ b/src/test/modules/test_extensions/Makefile @@ -15,6 +15,9 @@ DATA = test_ext1--1.0.sql test_ext2--1.0.sql test_ext3--1.0.sql \ REGRESS = test_extensions test_extdepend +# force C locale for output stability +NO_LOCALE = 1 + ifdef USE_PGXS PG_CONFIG = pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) |