Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjGQm-00086I-SP for pgsql-bugs@arkaria.postgresql.org; Sat, 28 Jul 2018 04:02:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fjGQk-0002hB-Mo for pgsql-bugs@arkaria.postgresql.org; Sat, 28 Jul 2018 04:02:10 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjGQi-0002gt-QN for pgsql-bugs@lists.postgresql.org; Sat, 28 Jul 2018 04:02:10 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjGQb-0000UF-32 for pgsql-bugs@lists.postgresql.org; Sat, 28 Jul 2018 04:02:07 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4CA8221AB4; Sat, 28 Jul 2018 00:01:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 28 Jul 2018 00:01:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=0bVAZ4KTJHiGl4HcqOhQbrvAFh0SwNw7E/NODMUWKf4=; b=Igb/UJjD fpjMV/kTXP3GmpX5h7FKn7GoVr1VuPytRoVYcB/fDmi1wtD7lutkHaQDoq4lm3VD 5wOxuZFtPd6Rk7CiIWJgHcbCLdhvCUHlIgaHEWZRicrU7rto7257r2445TSaT+co iSfGLLuSujQHhE1uSzzYeMtZ6eETZ8wgJlHKrXHif331oREE03S2rnyuV08LpMgJ HoknY86wgIFYxONiiMINjRiWPJ3Plo1J1s5RI3ND5UvBS19JVbvhO/jcXEzWHOF4 3T1HZJfbQBdH+sssg4t7gXG8IVsxTmQfNp3RH5iro2SqyC9ZuLNJEMOSly09N450 ms+kGWZgfz16BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=0bVAZ4KTJHiGl4HcqOhQbrvAFh0Sw Nw7E/NODMUWKf4=; b=oFN5PQYP1EFQP6GRqtRAhwj4/mcRSAsUx++cL1Gk5iQ9d ub9rph5m9Yd/kz8JN0muwquf4768KeFGcV7JImUn+U7V8KA68n8P9fek0A/NDmsz r7KGxJuSuiMMwNcuU+3Xh4Iv/tjmBRWtFFW7fRjZfCBGTSajIAbcpE0LAgbRlF7Y qDG4Q+NW/GBP5I0tmHq29zwz9T3aO0cxDZdG9hSGChtdoZql9GbExhWVeiDOkTYI hUbkolFx6gUhemFc+VgB6u3B2pSchtUDWIVUmu3Xsq1NuVnz0eDmeFfg4IfFKrSP F64CMAnNV1c+toJxuntJwxNEiof9dGIT3Jt2QCwIw== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 9F923E4511; Sat, 28 Jul 2018 00:01:57 -0400 (EDT) Date: Sat, 28 Jul 2018 13:01:49 +0900 From: Michael Paquier To: qwadrillion@gmail.com, 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 Message-ID: <20180728040149.GA1682@paquier.xyz> References: <153268067516.1395.2767410329661512085@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <153268067516.1395.2767410329661512085@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 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?=20 -- Michael --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAltb6q0ACgkQnvQgOdby QH3IMBAAjLCMBSLj8q72ACcR9ktgH95tT3/9YkmdhsismvlRjLRZyFA+y00mIHIU qC45VrXlO/FwVPpZyplrZSOxPp16402GRNJlH883DZveP51+hXCNseJSXc75fxMB 3TFlEk7+JYXWKtoD3kIlt04uqdqHBCrPImh2LyIwqdImTjlk/O72zl4jL2WDtUaO INiFoILCX2goy6XMVhoZVGJdEXmrHQmNfLm6LDyacb3FAJz0BowYzU/J0+F+T6IQ 0dl+HAuqqqC1PdYCmlWE782w+VvCFjzJa0RjyLto3aSxnx5hmGWUhr5+6wbnQBCA aaAz/qHZ3Y/savrWzo/MTeMMQ7KhL73UCpvDmS0yz1DoOaqo1uxs2vdm24+28+9t QSEjlZyLh/DLmWzLoH1Kfnz+SHw3je0xDsudgCCLNEJLvDu1hHiAeWUqBj6h5n67 P9d0B6z9Re+7dwEFFKSw/mVfQsdmWaX4I1cwRyeT4xzkfDdfsY+afPv6ltMPYd9b c4bKnOcYmujf+C1NW6MF+FMPRKhTuxfNdjdlA34Sy5QPN4epruwymkb2Kt/khl93 1dDu9/V8J78C1mD6NwDKfhZdzo/0wvH/Jgi9uRr+VEC2PkOlLw3KCzQE34XjkDHw X27fI1RpprbvQjWfm6EV2l8XKhvY2remteXKx64s7JymZubRrZo= =0wD6 -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--