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 | 2a4d82aadf8c3c2cf7f586c6ba2766f9bd2ba657 (patch) | |
tree | 06dbe981cdb0529e249742d5f5454b7f2c09f8d9 | |
parent | cc7e0feba51b4aeb0adf9bdac659f83e9986b90d (diff) | |
download | postgresql-2a4d82aadf8c3c2cf7f586c6ba2766f9bd2ba657.tar.gz postgresql-2a4d82aadf8c3c2cf7f586c6ba2766f9bd2ba657.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 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) |