Re: Large file support available - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Large file support available
Date
Msg-id 200208240436.g7O4a8R25133@candle.pha.pa.us
Whole thread Raw
In response to Re: Large file support available  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Large file support available  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Is there anyone who has fseeko() but _not_ fsetpos()?
> 
> AFAICT this is completely irrelevant to large files.

Please explain.  At:
http://man.dnswatch.com/cgi-bin/htmlman?fseek+3

I see:
    The fseeko() function is identical to fseek(), except it takes an off_t    argument instead of a long.  Likewise,
theftello() function is identical    to ftell(), except it returns an off_t.
 

while fsetpos() is:
    fsetpos(FILE *stream, const fpos_t *pos);

and presumably fpos_t handles long files too.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Large file support available
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] PostgreSQL 7.2.2: Security Release