Re: pg_restore fails with a custom backup file

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pg_restore fails with a custom backup file
Дата
Msg-id 4586D83D.8060805@hagander.net
обсуждение исходный текст
Ответ на Re: pg_restore fails with a custom backup file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> Andrew Dunstan wrote:
>>> I suspect we might need to create a pg_off_t type or some such gadget.
>>> Bleah.
> 
>> Bummer. That might be what's needed, but I'm going to at least try to
>> find some neater way first. I wonder why it didn't happen on MSVC...
> 
> Seems like this can only work if the extra #define's appear *after* all
> system header files, which might or might not be practical --- but
> you'll have as much trouble with the function #define's as the typedef
> one if you include headers defining the functions after the macros appear.

The functions aren't really a problem I think - they don't exist on
win32. They're #defined from fseeko() to fseek() etc in port.h.

//Magnus


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Understanding oid for a record
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Vaccuming dead rows on busy databases