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

Поиск
Список
Период
Сортировка
От Mario Weilguni
Тема Re: pg_dump and large files - is this a problem?
Дата
Msg-id 4D618F6493CE064A844A5D496733D667039106@freedom.icomedias.com
обсуждение исходный текст
Ответ на pg_dump and large files - is this a problem?  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
>My limited reading of off_t stuff now suggests that it would be brave to
>assume it is even a simple 64 bit number (or even 3 32 bit numbers). One
>alternative, which I am not terribly fond of, is to have pg_dump write
>multiple files - when we get to 1 or 2GB, we just open another file, and
>record our file positions as a (file number, file position) pair. Low tech,
>but at least we know it would work.
>
>Unless anyone knows of a documented way to get 64 bit uint/int file
>offsets, I don't see we have mush choice.

How common is fgetpos64? Linux supports it, but I don't know about other
systems.

http://hpc.uky.edu/cgi-bin/man.cgi?section=all&topic=fgetpos64

Regards,Mario Weilguni


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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: pg_dump and large files - is this a problem?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: v7.2.3 - tag'd, packaged ... need it checked ...