Re: mklink of pg_standby

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Magnus Hagander" <magnus(at)hagander(dot)net>
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:11:52
Message-ID: 03e901c85c2f$30bed450$c601a8c0@HP22720319231
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Regards,
Hiroshi Saito

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-01-21 13:13:23 Re: mklink of pg_standby
Previous Message Magnus Hagander 2008-01-21 13:01:08 Re: mklink of pg_standby