On 23 September 2015 at 10:16, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com> wrote:
>
>
Attached patch fixes, though I'm not sure if %lld is portable or not.
>
>
I think you could probably use INT64_FORMAT, and cast the stat.st_size to
int64 too.
There's an example in FileRead() in fd.c
Regards
David Rowley
--
David Rowley http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Training & Services