Re: mklink of pg_standby - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: mklink of pg_standby
Date
Msg-id 20080121131323.GL10643@svr2.hagander.net
Whole thread Raw
In response to Re: mklink of pg_standby  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List pgsql-hackers
On Mon, Jan 21, 2008 at 10:11:52PM +0900, Hiroshi Saito wrote:
> Hi.
> 
> ----- Original Message ----- 
> From: "Magnus Hagander" <magnus@hagander.net>
> 
> 
> >Junctions only work for directories, not for files.
> >
> >In theory, you should be able to use mklink to create a hardlink on
> >previous versions of Windows, but I'm not sure if it'll work. But we want
> >symlinks here, not hardlinks, and they are simply not supported on earlier
> >versions of Windows.
> >
> >It is alerady documented that it doesn't work on Windows prior to Vista. I
> >think this is fine. What we could add is a specific version check to
> >pg_standby to have it emit a "not supported on this windows version" error
> >if it's not supported. But I think that's overkill - it will still fail,
> >and it's well documented that it's not *supposed* to work.
> 
> Yeah, vote +1:-)
> Probably, the equipment which is not Symbolic Link is needed in order 
> to correspond to XP and 2K. It is hard to use rather than 'SymbolicLink'.
> It will be enough if notice are written to a document.

The notice is *alraedy* in the documentation. 
http://www.postgresql.org/docs/8.3/static/pgstandby.html
has:
"-l will not work on versions of Windows prior to Vista."

//Magnus


pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: mklink of pg_standby
Next
From: "Hiroshi Saito"
Date:
Subject: Re: mklink of pg_standby