Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 22b205c

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 30523c0 commit 22b205c

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
@@ -17,6 +17,9 @@ DATA = test_ext1--1.0.sql test_ext2--1.0.sql test_ext3--1.0.sql \
1717

1818
REGRESS = test_extensions test_extdepend
1919

20+
# force C locale for output stability
21+
NO_LOCALE = 1
22+
2023
ifdef USE_PGXS
2124
PG_CONFIG = pg_config
2225
PGXS := $(shell $(PG_CONFIG) --pgxs)

0 commit comments

Comments
 (0)