Re: BUG #15303: Postgres fail to start if pg_wal is symlink, andworks when it's a junction point - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15303: Postgres fail to start if pg_wal is symlink, andworks when it's a junction point
Date
Msg-id 20180728040149.GA1682@paquier.xyz
Whole thread Raw
In response to BUG #15303: Postgres fail to start if pg_wal is symlink,and works when it's a junction point  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
On Fri, Jul 27, 2018 at 08:37:55AM +0000, PG Bug reporting form wrote:
> Postgres fail to start if pg_wal is directory symbolic link:
> $ mklink /D pg_wal C:\***\jul_25\transaction_log\pg_wal

That's working as designed and that's not a bug.  Postgres has many code
paths where symbolic link handling of any other *nix platform maps to
junction points for Windows.

There may be some room for supporting direct symbolic links, but is that
really worth it knowing that junction points (mklink /J) work as
expected?
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Vasilis Ventirozos
Date:
Subject: Re: BUG #15304: Problem when replicating Floating point timestamps toint64 timestamps
Next
From: Tom Lane
Date:
Subject: Re: pg_restore: All GRANTs on table fail when any one role is missing