]> granicus.if.org Git - postgresql/commit
Fix set of NLS translation issues
authorMichael Paquier <michael@paquier.xyz>
Tue, 21 Aug 2018 06:17:13 +0000 (15:17 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 21 Aug 2018 06:17:13 +0000 (15:17 +0900)
commit72be8c29a18812975fcc8765a122faf0e4d0c755
tree52559dac01077e01cf8979aaef03e97e9043814d
parentd8c83800c3ed2f0d677eb6620a9e9dc7b81a678b
Fix set of NLS translation issues

While monitoring the code, a couple of issues related to string
translation has showed up:
- Some routines for auto-updatable views return an error string, which
sometimes missed the shot.  A comment regarding string translation is
added for each routine to help with future features.
- GSSAPI authentication missed two translations.
- vacuumdb handles non-translated strings.
- GetConfigOptionByNum should translate strings.  This part is not
back-patched as after a minor upgrade this could be surprising for
users.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: https://postgr.es/m/20180810.152131.31921918.horiguchi.kyotaro@lab.ntt.co.jp
Backpatch-through: 9.3
src/backend/commands/tablecmds.c
src/backend/commands/view.c
src/backend/libpq/auth.c
src/backend/rewrite/rewriteHandler.c
src/backend/utils/misc/guc.c
src/bin/scripts/vacuumdb.c