pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make unlink() work for junction points on Windows.
Date: Sat, 06 Aug 2022 00:52:55 +0000
Message-ID: <E1oK83j-000VPW-CL@gemulon.postgresql.org> (raw)

Make unlink() work for junction points on Windows.

To support harmonization of Windows and Unix code, teach our unlink()
wrapper that junction points need to be unlinked with rmdir() on
Windows.

Tested-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/CA%2BhUKGLfOOeyZpm5ByVcAt7x5Pn-%3DxGRNCvgiUPVVzjFLtnY0w%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f357233c9db8be2a015163da8e1ab0630f444340

Modified Files
--------------
src/port/dirmod.c | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1oK83j-000VPW-CL@gemulon.postgresql.org>
Permalink:  ../E1oK83j-000VPW-CL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oK83j-000VPW-CL@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make unlink() work for junction points on Windows.
  In-Reply-To: <E1oK83j-000VPW-CL@gemulon.postgresql.org>

* 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