Re: mklink of pg_standby

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: mklink of pg_standby
Дата
Msg-id 20080121131323.GL10643@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: mklink of pg_standby  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Список pgsql-hackers
On Mon, Jan 21, 2008 at 10:11:52PM +0900, Hiroshi Saito wrote:
> 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.

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


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

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