summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane2022-08-08 16:16:01 +0000
committerTom Lane2022-08-08 16:16:01 +0000
commit71cac850d02f2ad46aca00d3852574bd48fb581a (patch)
tree6f0fee9df648085041b82c89ac9562215a0fff9b /src
parentb9b21acc766db54d8c337d508d0fe2f5bf2daab0 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/test_extensions/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/modules/test_extensions/Makefile b/src/test/modules/test_extensions/Makefile
index 452cae3b2eb..c3139ab0fcc 100644
--- a/src/test/modules/test_extensions/Makefile
+++ b/src/test/modules/test_extensions/Makefile
@@ -17,6 +17,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)