summaryrefslogtreecommitdiff
path: root/src/backend/nls.mk
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-27 19:37:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-27 19:37:22 +0000
commitb0169bb1246b21b760e1c02bec83e6112a68dff8 (patch)
tree09178792cb45f2432c8c4ef37e423cd2f20fc4c4 /src/backend/nls.mk
parentf3a0688ace40f012f4de95b7b722fbfbb802bea9 (diff)
downloadpostgresql-b0169bb1246b21b760e1c02bec83e6112a68dff8.tar.gz
Install a more robust solution for the problem of infinite error-processing
recursion when we are unable to convert a localized error message to the client's encoding. We've been over this ground before, but as reported by Ibrar Ahmed, it still didn't work in the case of conversion failures for the conversion-failure message itself :-(. Fix by installing a "circuit breaker" that disables attempts to localize this message once we get into recursion trouble. Patch all supported branches, because it is in fact broken in all of them; though I had to add some missing translations to the older branches in order to expose the failure in the particular test case I was using.
Diffstat (limited to 'src/backend/nls.mk')
-rw-r--r--src/backend/nls.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/nls.mk b/src/backend/nls.mk
index 99e7e9f90a..bfca4f1220 100644
--- a/src/backend/nls.mk
+++ b/src/backend/nls.mk
@@ -1,9 +1,7 @@
-# $PostgreSQL: pgsql/src/backend/nls.mk,v 1.22 2008/03/24 18:08:47 tgl Exp $
+# $PostgreSQL: pgsql/src/backend/nls.mk,v 1.23 2008/10/27 19:37:21 tgl Exp $
CATALOG_NAME := postgres
AVAIL_LANGUAGES := af cs de es fr hr hu it ko nb nl pt_BR ro ru sk sl sv tr zh_CN zh_TW
GETTEXT_FILES := + gettext-files
-# you can add "elog:2" and "errmsg_internal" to this list if you want to
-# include internal messages in the translation list.
GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext write_stderr yyerror
gettext-files: distprep