Re: "long" type is not appropriate for counting tuples

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: "long" type is not appropriate for counting tuples
Дата
Msg-id 8433379a-6f86-ba63-82aa-18691efc0174@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: "long" type is not appropriate for counting tuples  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: "long" type is not appropriate for counting tuples  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2019-04-29 19:32, Tom Lane wrote:
> Another problem is that while "%lu" format specifiers are portable,
> INT64_FORMAT is a *big* pain, not least because you can't put it into
> translatable strings without causing problems.  To the extent that
> we could go over to "%zu" instead, maybe this could be finessed,
> but blind "s/long/int64/g" isn't going to be any fun.

Since we control our own snprintf now, this could probably be addressed
somehow, right?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: FullTransactionId changes are causing portability issues
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: "long" type is not appropriate for counting tuples