Re: Add %z support to elog/ereport?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Add %z support to elog/ereport?
Дата
Msg-id 20131208165125.GA16733@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Add %z support to elog/ereport?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On 2013-12-08 11:43:46 -0500, Peter Eisentraut wrote:
> On Sun, 2013-12-08 at 01:32 +0100, Andres Freund wrote:
> > Patch 02 converts some elog/ereport() callers to using the z modifier,
> >       some were wrong at least on 64 bit windows.
> 
> This is making the assumption that Size is the same as size_t.  If we
> are going to commit to that, we might as well get rid of Size.

Well, we're unconditionally defining it as such in c.h and its usage is
pretty much what size_t is for. Given how widespread Size's use is, I am
not seing a realistic way of getting rid of it though.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Add %z support to elog/ereport?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: plpgsql_check_function - rebase for 9.3