Standardize the printf format for st_size

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Standardize the printf format for st_size
Дата
Msg-id f4e6d8d0-13a2-79d0-ceca-4d462481a26f@2ndquadrant.com
обсуждение исходный текст
Список pgsql-hackers
Existing code uses various inconsistent ways to printf struct stat's 
st_size member.  The type of that is off_t, which is in most cases a 
signed 64-bit integer, so use the long long int format for it.

I don't think anything is affected by this in practice, but it seems 
reasonable to set a good convention for the next time this code gets copied.

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

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Yet another fast GiST build
Следующее
От: David Rowley
Дата:
Сообщение: Re: Use incremental sort paths for window functions