From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, Dave Page <dpage(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: mklink of pg_standby |
Date: | 2008-01-21 13:01:08 |
Message-ID: | 20080121130108.GJ10643@svr2.hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jan 21, 2008 at 07:33:57AM +0000, Simon Riggs wrote:
> On Mon, 2008-01-21 at 15:36 +0900, Hiroshi Saito wrote:
> > Hi Simon, and Dave,Magnus.
> >
> > About pg_standby, a link option cause a problem in windows(XP and 2k,2k3).
> > It is because the call of mklink is needed. Then, they are the new programs of
> > VISTA and 2008. It is CreateSymbolicLink of API of kernel32.lib is equipped
> > with mklink.
> > http://msdn2.microsoft.com/en-us/library/aa363866.aspx
> >
> > Therefore, I considered whether it should correspond by the 'Junction' or the 'Hard
> > Link' this way and that. However, The addition thought that it was not desirable
> > by the reason of the process of evolution functional pg_standby. A copy function
> > is no problem. However, I think that it is necessary to write it to a document in
> > order to avoid a user's confusion. probably, has that no source code corrects.
>
> Hi Hiroshi,
>
> pg_standby uses "mklink" which defaults to creating symbolic links on
> Win2003 and Win2008:
>
> http://technet2.microsoft.com/windowsserver2008/en/library/0ce4df22-2dbc-48fc-9c16-b721ae85f8571033.mspx?mfr=true
>
> I think you're referring to the point that "mklink" is not available for
> XP and 2k.
I assume you actually maen Vista + 2008? Symlinks aren't supported on
Win2k3 AFAIK, and that page certainly says nothing about them. Plus, none
of my 2k3 machines appear to have mklink.exe :-P
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2008-01-21 13:11:52 | Re: mklink of pg_standby |
Previous Message | Magnus Hagander | 2008-01-21 13:00:02 | Re: mklink of pg_standby |