Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d7d8f4

Browse files
committed
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
1 parent cd1aef2 commit 2d7d8f4

File tree

1 file changed

+3
-0
lines changed
  • src/test/modules/test_extensions

1 file changed

+3
-0
lines changed

src/test/modules/test_extensions/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ DATA = test_ext1--1.0.sql test_ext2--1.0.sql test_ext3--1.0.sql \
1515

1616
REGRESS = test_extensions test_extdepend
1717

18+
# force C locale for output stability
19+
NO_LOCALE = 1
20+
1821
ifdef USE_PGXS
1922
PG_CONFIG = pg_config
2023
PGXS := $(shell $(PG_CONFIG) --pgxs)

0 commit comments

Comments
 (0)