BUG #2018: segfaults with some german errormessages

From: "Bernhard Weisshuhn" <bkw(at)weisshuhn(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2018: segfaults with some german errormessages
Date: 2005-11-03 05:56:27
Message-ID: 20051103055627.7EA9FF0E48@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2018
Logged by: Bernhard Weisshuhn
Email address: bkw(at)weisshuhn(dot)de
PostgreSQL version: 8.1rc1
Operating system: Linux
Description: segfaults with some german errormessages
Details:

Some errormessages from backend/po/de.po use format strings with parameters
that are not set. This leads to segfaults when this error is attempted to be
logged.

At first glance I found 4 occurences, but there might be more lurking.
Probably we should have a perl script that checks whether all format strings
off the translations match.

These are the ones that I found, I hope the webform doesn't mess up the
formatting too much. I'll also send this to the translator via email.

--- postgresql-8.1RC1/src/backend/po/de.po.orig
+++ postgresql-8.1RC1/src/backend/po/de.po
@@ -8838,22 +8838,22 @@ msgstr "ungltige Eingabesyntax fr Typ

#: utils/adt/float.c:219
msgid "type \"real\" value out of range: overflow"
-msgstr "Wert %s ist auerhalb des gltigen Bereiches fr Typ real:
berlauf"
+msgstr "Wert ist auerhalb des gltigen Bereiches fr Typ real:
berlauf"

#: utils/adt/float.c:223
msgid "type \"real\" value out of range: underflow"
-msgstr "Wert %s ist auerhalb des gltigen Bereiches fr Typ real:
Unterlauf"+msgstr "Wert ist auerhalb des gltigen Bereiches fr Typ
real: Unterlauf"

#: utils/adt/float.c:238
msgid "type \"double precision\" value out of range: overflow"
msgstr ""
-"Wert %s ist auerhalb des gltigen Bereiches fr Typ double
precision: "
+"Wert ist auerhalb des gltigen Bereiches fr Typ double precision:
"
"berlauf"

#: utils/adt/float.c:242
msgid "type \"double precision\" value out of range: underflow"
msgstr ""
-"Wert %s ist auerhalb des gltigen Bereiches fr Typ double
precision: "
+"Wert ist auerhalb des gltigen Bereiches fr Typ double precision:
"
"Unterlauf"

#: utils/adt/float.c:274 utils/adt/float.c:315 utils/adt/float.c:339

Browse pgsql-bugs by date

  From Date Subject
Next Message Antti Salmela 2005-11-03 07:22:47 Failed CLUSTER seems to leave files behind
Previous Message Jolly Chen 2005-11-03 00:08:32 BUG #2017: column labels ignored on selects from views