Re: BUG #6066: [PATCH] Mark more strings as c-format

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Christoph Berg <cb(at)df7cb(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6066: [PATCH] Mark more strings as c-format
Date: 2011-06-26 21:41:30
Message-ID: 1309124490.437.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On fre, 2011-06-17 at 13:10 +0200, Christoph Berg wrote:
> Re: To pgsql-bugs(at)postgresql(dot)org 2011-06-17 <20110617091114(dot)GC4130(at)msgid(dot)df7cb(dot)de>
> > Unfortunately that doesn't help in this case, as the bad string isn't
> > tagged as "#, c-format", but still gets used as such. This seems to be
> > the case for many errhint() strings. Maybe xgettext should be taught
> > to treat all errhint() et al arguments as c-strings.
>
> Here's a patch to implement that, with backend/nls.mk updated.

I have committed a patch based on that, with the other nls.mk filled in
as well. Thanks for the idea.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Renat 2011-06-28 14:41:30 BUG #6079: Wrong select result
Previous Message Tom Lane 2011-06-26 17:24:12 Re: Did this report get lost?