Re: Add %z support to elog/ereport?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add %z support to elog/ereport?
Дата
Msg-id 1723.1384190326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add %z support to elog/ereport?  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Add %z support to elog/ereport?  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> gettext has support for it afaics, it's part of POSIX:

Really?  [ pokes around at pubs.opengroup.org ]  Hm, I don't see it
in Single Unix Spec v2 (1997), but it is there in POSIX issue 7 (2008).
Also, the POSIX page says it defers to the C standard, and I see it
in C99.  Too bad not all our platforms are C99 yet :-(

Actually this raises an interesting testing question: how sure are we
that there aren't already some format strings in the code that depend
on C99 additions to the printf spec?  If they're not in code paths
exercised by the regression tests, I'm not sure we'd find out from
the buildfarm.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rohit Goyal
Дата:
Сообщение: Re: Fwd: Test of Algorithm || Indexing Scheme
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Add %z support to elog/ereport?