From: Michael Paquier <michael@paquier.xyz>
To: qwadrillion@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15303: Postgres fail to start if pg_wal is symlink, and works when it's a junction point
Date: Sat, 28 Jul 2018 13:01:49 +0900
Message-ID: <20180728040149.GA1682@paquier.xyz> (raw)
In-Reply-To: <153268067516.1395.2767410329661512085@wrigleys.postgresql.org>
References: <153268067516.1395.2767410329661512085@wrigleys.postgresql.org>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: michael@paquier.xyz, qwadrillion@gmail.com
Subject: Re: BUG #15303: Postgres fail to start if pg_wal is symlink, and works when it's a junction point
In-Reply-To: <20180728040149.GA1682@paquier.xyz>
References: <153268067516.1395.2767410329661512085@wrigleys.postgresql.org> <20180728040149.GA1682@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox