I wrote:
> [1] Or at least that's the intent ... but I don't see translation
> happening in HEAD on my Linux box:
Huh ... it works fine on another nearby RHEL machine:
regression=# copy zed from '/etc/shadow';
ERROR: no se pudo abrir archivo «/etc/shadow» para lectura: Permiso denegado
HINT: COPY FROM indica al proceso servidor de PostgreSQL leer un archivo. Puede desear usar una facilidad del lado del
clientecomo \copy de psql.
But poking a little harder, the same behavior applies in other
programs:
RHEL8 box:
$ LANG=es_ES.utf8 sed 's/x/y/' /etc/shadow
sed: no se puede leer /etc/shadow: Permission denied
RHEL9 box:
$ LANG=es_ES.utf8 sed 's/x/y/' /etc/shadow
sed: no se puede leer /etc/shadow: Permiso denegado
Surely RHEL8 does not pre-date glibc's ability to translate messages.
I suspect I have some system-wide setting for this, or maybe a
missing package on that machine? But anyway, I think this reinforces
my point that we should (and do) act similarly to other programs.
regards, tom lane