This is an automated email from the ASF dual-hosted git repository.

maxyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit b7c0660e5b395ce9f9de2b5714766b3589bb8de7
Author: Tom Lane <[email protected]>
AuthorDate: Mon Aug 8 12:16:01 2022 -0400

    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
---
 src/test/modules/test_extensions/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/test/modules/test_extensions/Makefile 
b/src/test/modules/test_extensions/Makefile
index d210d4196f..b6a783c011 100644
--- a/src/test/modules/test_extensions/Makefile
+++ b/src/test/modules/test_extensions/Makefile
@@ -16,6 +16,9 @@ DATA = test_ext1--1.0.sql test_ext2--1.0.sql 
test_ext3--1.0.sql \
 
 REGRESS = test_extensions #test_extdepend TODO: enable this test after 
https://github.com/greenplum-db/gpdb/issues/14532
 
+# force C locale for output stability
+NO_LOCALE = 1
+
 ifdef USE_PGXS
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to