Looks like we can't test NLS on machines that lack any es_ES locale.

While commit 5b275a6e1 fixed a few unhappy buildfarm animals,
it looks like the remainder simply don't have any es_ES locale
at all.  There's little point in running the test in that case,
so minimize the number of variant expected-files by bailing out.
Also emit a log entry so that it's possible to tell from buildfarm
postmaster logs which case occurred.

Possibly, the scope of this testing could be improved by providing
additional translations.  But I think it's likely that the failing
animals have no non-C locales installed at all.

In passing, update typedefs.list so that koel doesn't think
regress.c is misformatted.

Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fe7ede45f125af271fb3fef3cc5ee507d4c40d87

Modified Files
--------------
src/test/regress/expected/nls.out   | 10 ++++++++++
src/test/regress/expected/nls_1.out | 10 ++++++++++
src/test/regress/expected/nls_2.out | 35 +++++++++++++++++++++++++++++++++++
src/test/regress/sql/nls.sql        | 12 ++++++++++++
src/tools/pgindent/typedefs.list    |  2 ++
5 files changed, 69 insertions(+)

Reply via email to