Re: [GENERAL] Linux Largefile Support In Postgresql RPMS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] Linux Largefile Support In Postgresql RPMS
Date: 2002-08-13 14:23:40
Message-ID: 25577.1029248620@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Oliver Elphick <olly(at)lfix(dot)co(dot)uk> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Seidman 2002-08-13 14:30:48 Re: Stored procedures returning rowsets
Previous Message Tom Lane 2002-08-13 14:19:42 Re: age command

Browse pgsql-hackers by date

  From Date Subject
Next Message Tommi Maekitalo 2002-08-13 14:32:11 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Previous Message Oliver Elphick 2002-08-13 14:18:48 Re: [COMMITTERS] pgsql-server/src