Re: pg_restore fails with a custom backup file

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pg_restore fails with a custom backup file
Дата
Msg-id 20061219154013.GA10775@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: pg_restore fails with a custom backup file  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
Ответы Re: pg_restore fails with a custom backup file  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
Список pgsql-hackers
On Tue, Dec 19, 2006 at 04:25:18PM +0100, Zeugswetter Andreas ADI SD wrote:
> 
> > Did you see this from Andreas?
> > 
> > > MinGW has fseeko64 and ftello64 with off64_t.
> > >   
> > 
> > Maybe we need separate macros for MSVC and MinGW. Given the other 
> 
> You mean something quick and dirty like this ? That would work.

Yes, except does that actually work? If so you found the place in the
headers to stick it without breaking things that I couldn't find ;-)

I got compile warnings (note, warnings, not errors, for some reason, but
very significant) about sending 64-bit ints to API functions that were
32-bits and such without creating a separate define for off_t. Could
very well be that I was too tired and too focused on the websearch stuff
when I tried it though :-)

//Magnus


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

Предыдущее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: pg_restore fails with a custom backup file
Следующее
От: Andrew Dunstan
Дата:
Сообщение: column ordering, was Re: [PATCHES] Enums patch v2