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.

The API call you give is limited to Windows Vista and later, so doesn't
really help us get any closer.

If anybody has a suggestion, I'd be happy to implement, though I don't
have a test rig for Windows.

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to