Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group