Re: Add %z support to elog/ereport?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add %z support to elog/ereport?
Дата
Msg-id 13452.1390493645@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:
> So, here's a patch adding %z support to port/snprintf.c including a
> configure check to test whether we need to fall back.

OK, I'll take a look.

> I am not too
> happy about the runtime check as the test isn't all that meaningful, but
> I couldn't think of anything better.

Yeah, it's problematic for cross-compiles, but no more so than configure's
existing test for "%n$" support.  In practice, since both these features
are required by C99, I think it wouldn't be such an issue for most people.
        regards, tom lane



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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Passing "direct" args of ordered-set aggs to the transition function
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Add %z support to elog/ereport?