Standardize the printf format for st_size - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Standardize the printf format for st_size
Date
Msg-id f4e6d8d0-13a2-79d0-ceca-4d462481a26f@2ndquadrant.com
Whole thread Raw
List 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

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Yet another fast GiST build
Next
From: David Rowley
Date:
Subject: Re: Use incremental sort paths for window functions