From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Large file support available |
Date: | 2002-08-24 04:36:08 |
Message-ID: | 200208240436.g7O4a8R25133@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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, the ftello() 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-24 04:37:44 | Re: [GENERAL] PostgreSQL 7.2.2: Security Release |
Previous Message | Tom Lane | 2002-08-24 04:25:38 | Re: Large file support available |