Re: pgsql: CREATE DATABASE: make LOCALE apply to all collation providers. - Mailing list pgsql-committers

From Jeff Davis
Subject Re: pgsql: CREATE DATABASE: make LOCALE apply to all collation providers.
Date
Msg-id 770040bf2ca4c247b2c88837a3cb00d2798cdde6.camel@j-davis.com
Whole thread Raw
In response to pgsql: CREATE DATABASE: make LOCALE apply to all collation providers.  (Jeff Davis <jdavis@postgresql.org>)
Responses Re: pgsql: CREATE DATABASE: make LOCALE apply to all collation providers.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On Fri, 2023-06-16 at 17:41 +0000, Jeff Davis wrote:
> CREATE DATABASE: make LOCALE apply to all collation providers.

This created a minor test diff for the test_extensions test for
cs_CZ.UTF-8:


https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=jay&dt=2023-06-16%2018%3A02%3A15&stg=testmodules-install-check-cs_CZ.UTF-8


https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=hippopotamus&dt=2023-06-16%2017%3A43%3A05&stg=testmodules-install-check-cs_CZ.UTF-8

I believe the new behavior is correct, and the test is being run
incorrectly.

The buildfarm members do an initdb with the cs_CZ locale, and then run
the test_extensions test in installcheck mode against that
installation. As expected that creates \dx+ output using the cs_CZ
locale, which sorts "sequence" before "schema", unlike with the C
locale.

The test_extensions Makefile specifies NO_LOCALE=1 to avoid this kind
of problem, but that doesn't help during an installcheck.

Regards,
    Jeff Davis




pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: CREATE DATABASE: make LOCALE apply to all collation providers.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: CREATE DATABASE: make LOCALE apply to all collation providers.