pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Christoph Berg <cb@df7cb.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6066: [PATCH] Mark more strings as c-format
Date: Mon, 27 Jun 2011 00:41:30 +0300
Message-ID: <1309124490.437.0.camel@vanquo.pezone.net> (raw)
In-Reply-To: <20110617111033.GD4130@msgid.df7cb.de>
References: <201106170818.p5H8I3ko064877@wwwmaster.postgresql.org>
	<D5E9F4A451B7CE0EE15DE8B6@apophis.local>
	<4DFB137E.4040404@enterprisedb.com>
	<20110617091114.GC4130@msgid.df7cb.de>
	<20110617111033.GD4130@msgid.df7cb.de>

On fre, 2011-06-17 at 13:10 +0200, Christoph Berg wrote:
> Re: To pgsql-bugs@postgresql.org 2011-06-17 <20110617091114.GC4130@msgid.df7cb.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.





view thread (3+ messages)

Message-ID: <1309124490.437.0.camel@vanquo.pezone.net>
Permalink:  ../1309124490.437.0.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1309124490.437.0.camel@vanquo.pezone.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter_e@gmx.net, cb@df7cb.de
  Subject: Re: BUG #6066: [PATCH] Mark more strings as c-format
  In-Reply-To: <1309124490.437.0.camel@vanquo.pezone.net>
  References: <201106170818.p5H8I3ko064877@wwwmaster.postgresql.org> <D5E9F4A451B7CE0EE15DE8B6@apophis.local> <4DFB137E.4040404@enterprisedb.com> <20110617091114.GC4130@msgid.df7cb.de> <20110617111033.GD4130@msgid.df7cb.de> <1309124490.437.0.camel@vanquo.pezone.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox