Re: Large file support available

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Large file support available
Дата
Msg-id 200208240436.g7O4a8R25133@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Large file support available  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Large file support available
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Large file support available
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] PostgreSQL 7.2.2: Security Release