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

From Bruce Momjian
Subject Re: open item: tablespace handing in pg_dump/pg_restore
Date
Msg-id 200410120106.i9C16QJ18109@candle.pha.pa.us
Whole thread Raw
In response to Re: open item: tablespace handing in pg_dump/pg_restore  (Greg Stark <gsstark@mit.edu>)
Responses Re: open item: tablespace handing in pg_dump/pg_restore
List pgsql-hackers
Greg Stark wrote:
> 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?

I believe it is OS, not file system.
> 
> > 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?

Yes, if we feel like probing for the Windows OS during runtime.  I don't
think it is worth it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: Unit testing
Next
From: Tom Lane
Date:
Subject: Re: Unit testing