Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] open item: tablespace handing in pg_dump/pg_restore

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Reini Urban <rurban(at)x-ray(dot)at>,PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>,pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [HACKERS] open item: tablespace handing in pg_dump/pg_restore
Date: 2004-10-11 23:09:52
Message-ID: 200410112309.i9BN9qN19687@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-hackerspgsql-hackers-win32
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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 and we have no
> > way to know what system will be running the Cygwin binaries so the
> > safest bet is to use the Cygwin versions.  On Win32 native we only run
> > on systems that support junctions.
> 
> I think this is probably a net loss, because what it will mean is that
> you cannot take a data directory built under a Cygwin postmaster and use
> it under a native postmaster, nor vice versa.  Given the number of other
> ways in which we do not support pre-NT4 Windows systems, what is the
> benefit of allowing this one?

I assume Cygwin supports pre-NT4, and always has, and I see no reason to
change that.  Moving a data directory from Cygwin to native Win32 seems
like a pretty rare usage to diable pre-NT4 on a platform the previously
supported it.

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

In response to

Responses

pgsql-cygwin by date

Next:From: Reini UrbanDate: 2004-10-11 23:37:48
Subject: Re: [HACKERS] Need for DLLINIT in Makefile.shlib
Previous:From: Tom LaneDate: 2004-10-11 23:02:28
Subject: Re: [HACKERS] open item: tablespace handing in pg_dump/pg_restore

pgsql-hackers by date

Next:From: Neil ConwayDate: 2004-10-11 23:29:31
Subject: minor code question: portal memory cxts
Previous:From: Tom LaneDate: 2004-10-11 23:02:28
Subject: Re: [HACKERS] open item: tablespace handing in pg_dump/pg_restore

pgsql-hackers-win32 by date

Next:From: Reini UrbanDate: 2004-10-11 23:37:48
Subject: Re: [HACKERS] Need for DLLINIT in Makefile.shlib
Previous:From: Tom LaneDate: 2004-10-11 23:02:28
Subject: Re: [HACKERS] open item: tablespace handing in pg_dump/pg_restore

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group