Oliver Elphick <[EMAIL PROTECTED]> writes:
> Looking at how to deal with this, is the following going to be
> portable?:

>       #define OFF_T_FORMAT %Ld

That certainly will not be.  Use INT64_FORMAT from pg_config.h.

>       typedef long int OFF_T;

Why not just use off_t?  In both cases?

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to