aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/view.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-21 15:17:38 +0900
committerMichael Paquier <michael@paquier.xyz>2018-08-21 15:17:38 +0900
commitecf56dc5e5b61e76de4cf2ed2a25b05718d45e9c (patch)
treefa6faac657bd5a739572fe95e34efa87464e2241 /src/backend/commands/view.c
parent05aeeb5e2803ebe537516774f766792c109eaac5 (diff)
downloadpostgresql-ecf56dc5e5b61e76de4cf2ed2a25b05718d45e9c.tar.gz
postgresql-ecf56dc5e5b61e76de4cf2ed2a25b05718d45e9c.zip
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. 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
Diffstat (limited to 'src/backend/commands/view.c')
-rw-r--r--src/backend/commands/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/view.c b/src/backend/commands/view.c
index f25a5658d68..57b0ce93239 100644
--- a/src/backend/commands/view.c
+++ b/src/backend/commands/view.c
@@ -502,7 +502,7 @@ DefineView(ViewStmt *stmt, const char *queryString,
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("WITH CHECK OPTION is supported only on automatically updatable views"),
- errhint("%s", view_updatable_error)));
+ errhint("%s", _(view_updatable_error))));
}
/*