Re: mklink of pg_standby

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: mklink of pg_standby
Дата
Msg-id 20080121130108.GJ10643@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: mklink of pg_standby  (Simon Riggs <simon@2ndquadrant.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: mklink of pg_standby
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: mklink of pg_standby