Re: pg_dump and large files - is this a problem?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: pg_dump and large files - is this a problem?
Дата
Msg-id
Pine.LNX.4.44.0210242030480.12035-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
Re: pg_dump and large files - is this a problem? Philip Warner <pjw@rhyme.com.au>
Re: pg_dump and large files - is this a problem? Bruce Momjian <pgman@candle.pha.pa.us>
Re: pg_dump and large files - is this a problem? Philip Warner <pjw@rhyme.com.au>
Bruce Momjian writes:

> OK, NetBSD added.
>
> Any other OS's need this?  Is it safe for me to code something that
> assumes fpos_t and off_t are identical?  I can't think of a good way to
> test if two data types are identical.  I don't think sizeof is enough.

No, you can't assume that fpos_t and off_t are identical.

But you can simulate a long fseeko() by calling fseek() multiple times, so
it should be possible to write a replacement that works on all systems.

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления
От: cbbrowne@cbbrowne.com
Дата:
Сообщение: Re: Hot Backup
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_database datistemplate
FAQ