pgsql: Fix set of NLS translation issues

Started by Michael Paquieralmost 8 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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.

Reported-by: Kyotaro Horiguchi
Author: Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Tom Lane
Discussion: /messages/by-id/20180810.152131.31921918.horiguchi.kyotaro@lab.ntt.co.jp
Backpatch-through: 9.3

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/788ae09f4a9560c344a0c8457ffb66bba42be0a7

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
src/backend/commands/view.c | 2 +-
src/backend/libpq/auth.c | 13 +++++++++++--
src/backend/rewrite/rewriteHandler.c | 9 +++++++++
4 files changed, 22 insertions(+), 4 deletions(-)