Re: open item: tablespace handing in pg_dump/pg_restore - Mailing list pgsql-hackers

From Greg Stark
Subject Re: open item: tablespace handing in pg_dump/pg_restore
Date
Msg-id 87llec3g9b.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: open item: tablespace handing in pg_dump/pg_restore  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: open item: tablespace handing in pg_dump/pg_restore
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:

> OK, I have applied the following patch that uses Cygwin native symlink()
> instead of the Win32 junctions.  The reason for this is that Cygwin
> symlinks work on Win95/98/ME where junction points do not 

Is this really a Win95/98/ME vs NT distinction or a FAT32 vs NTFS distinction?
In which case does an NT machine that happens to be using a FAT32 file system
have the same problem?

> and we have no way to know what system will be running the Cygwin binaries

Is there a reason to make this a compile-time decision? Can't it just try to
make a junction and if it fails then use the Cygwin symlink?

-- 
greg



pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: CVS fixed ...
Next
From: Gavin Sherry
Date:
Subject: Re: Unit testing