pgsql: Revert "Avoid requiring Spanish locale to test NLS infrastructur

Started by Tom Lane28 days ago2 messages
#1Tom Lane
tgl@sss.pgh.pa.us

Revert "Avoid requiring Spanish locale to test NLS infrastructure."

This reverts commit 7db6809ced4406257a80766e4109c8be8e1ea744.
That doesn't seem to work with recent (last couple of years)
glibc, and the reasons are obscure. I can't let the farm stay
this broken for long.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/84a3778c79c2d28b4dc281d03ef2ab019b16483b

Modified Files
--------------
src/test/regress/expected/nls.out | 65 ++++++++++-----
src/test/regress/expected/nls_1.out | 49 ++++++-----
src/test/regress/expected/nls_2.out | 35 ++++++++
src/test/regress/po/C.po | 161 ------------------------------------
src/test/regress/po/LINGUAS | 2 +-
src/test/regress/po/es.po | 159 +++++++++++++++++++++++++++++++++++
src/test/regress/regress.c | 45 +++++-----
src/test/regress/sql/nls.sql | 35 ++++++--
8 files changed, 314 insertions(+), 237 deletions(-)

#2Christoph Berg
myon@debian.org
In reply to: Tom Lane (#1)
Re: pgsql: Revert "Avoid requiring Spanish locale to test NLS infrastructur

Re: Tom Lane

src/test/regress/po/es.po | 159 +++++++++++++++++++++++++++++++++++

The Debian package builds are complaining that there is now a
usr/share/locale/es/LC_MESSAGES/regress-19.mo
file that needs sorting into one of the .deb packages.

Since regress.so itself doesn't get installed by autoconf's Makefiles,
shouldn't that .mo file not get installed either? (Or resolve it the
other way round and install both.)

Christoph