| From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Add %z support to elog/ereport? |
| Date: | 2013-11-11 16:51:06 |
| Message-ID: | 20131111165106.GE2401@awork2.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2013-11-11 17:33:53 +0100, Andres Freund wrote:
> On 2013-11-11 11:18:22 -0500, Tom Lane wrote:
> > Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> > > I'd like to add support for the length modifier %z. Linux' manpages
> > > describes it as:
> > > z A following integer conversion corresponds to a size_t or ssize_t argument.
> > and what about the translation infrastructure?
>
> That I have no clue about yet.
gettext has support for it afaics, it's part of POSIX:
http://www.gnu.org/software/gettext/manual/gettext.html#c_002dformat
http://www.opengroup.org/onlinepubs/007904975/functions/fprintf.html
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2013-11-11 17:00:47 | Re: logical changeset generation v6.6 |
| Previous Message | Antonin Houska | 2013-11-11 16:48:52 | Re: Comment - uniqueness of relfilenode |