Re: mklink of pg_standby - Mailing list pgsql-hackers

From Hiroshi Saito
Subject Re: mklink of pg_standby
Date
Msg-id 03e901c85c2f$30bed450$c601a8c0@HP22720319231
Whole thread Raw
In response to mklink of pg_standby  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Responses Re: mklink of pg_standby
List pgsql-hackers
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.

Regards,
Hiroshi Saito



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: mklink of pg_standby
Next
From: Magnus Hagander
Date:
Subject: Re: mklink of pg_standby