Re: Large file support available

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Large file support available
Дата
Msg-id Pine.LNX.4.44.0208271855110.1221-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Large file support available  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Large file support available
Список pgsql-hackers
Bruce Momjian writes:

> My point is that it seems fsetpos is the approved way of accessing large
> files, rather than fseeko.  In fact, I don't have fseeko here but I do
> have fsetpos, and it does handle large files because my includes have
> this:
>
>     typedef off_t fpos_t
>     typedef quad_t off_t;

Interesting.  In general, you can't rely on fpos_t being an integral type,
which indeed on my machine it isn't.  But for pg_dump we need an integral
type because we do offset arithmetic.

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: REINDEX ALL and CLUSTER ALL
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Large file support available