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

From Bruce Momjian
Subject Re: pg_restore fails with a custom backup file
Date
Msg-id 200612190323.kBJ3NxW07758@momjian.us
Whole thread Raw
In response to Re: pg_restore fails with a custom backup file  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> > I'll try to take a look at this sometime the next couple of days (out of
> > time for today) unless beaten to it.
> > 
> 
> Actually, there's another option that Hiroshi mentioned off-list, that I
> forgot.
> 
> We can implement the Microsoft functions _fseeki64() and _ftelli64()
> ourselves, based on win32 API functions. There are examples available
> for this.
> 
> Not sure which is the cleanest method, too late for more thinking ;-)

See src/port/fseeko.c for an example for NetBSD and BSD/OS.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: "Takayuki Tsunakawa"
Date:
Subject: Re: Question about debugging bootstrapping and catalog entries
Next
From: Tom Lane
Date:
Subject: Re: [PERFORM] EXPLAIN ANALYZE on 8.2