From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, Dave Page <dpage(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: mklink of pg_standby |
Date: | 2008-01-21 13:13:23 |
Message-ID: | 20080121131323.GL10643@svr2.hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jan 21, 2008 at 10:11:52PM +0900, Hiroshi Saito wrote:
> Hi.
>
> ----- Original Message -----
> From: "Magnus Hagander" <magnus(at)hagander(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2008-01-21 13:17:16 | Re: mklink of pg_standby |
Previous Message | Hiroshi Saito | 2008-01-21 13:11:52 | Re: mklink of pg_standby |