Re: pg_restore fails with a custom backup file - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: pg_restore fails with a custom backup file
Date
Msg-id 20061219154013.GA10775@svr2.hagander.net
Whole thread Raw
In response to Re: pg_restore fails with a custom backup file  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
Responses Re: pg_restore fails with a custom backup file  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
List 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 by date:

Previous
From: "Zeugswetter Andreas ADI SD"
Date:
Subject: Re: pg_restore fails with a custom backup file
Next
From: Andrew Dunstan
Date:
Subject: column ordering, was Re: [PATCHES] Enums patch v2