Tom Lane wrote:
> Magnus, you wanna clean up the mess?  And what patch does the "few more"
> comment refer back to?
> 
> A workable solution that both silences the warning and preserves
> localizability is to follow a coding pattern like this:
> 
>       const char *mymsg = gettext_noop("Some text to be localized.");
> 
>       ...
> 
>       errmsg("%s", _(mymsg))          // not just errmsg(mymsg)

For a change like
http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.480&r2=1.481

Will it work to stick _(hintmsg) around it there?


//Magnus

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to