diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-08-06 12:01:42 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-08-06 12:50:59 +1200 |
commit | f357233c9db8be2a015163da8e1ab0630f444340 (patch) | |
tree | beac64515f530907a6e4f1c7520e56ed51034632 /src/bin/pg_rewind/file_ops.c | |
parent | c5cb8f3b770c043509b61528664bcd805e1777e6 (diff) | |
download | postgresql-f357233c9db8be2a015163da8e1ab0630f444340.tar.gz postgresql-f357233c9db8be2a015163da8e1ab0630f444340.zip |
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
Diffstat (limited to 'src/bin/pg_rewind/file_ops.c')
0 files changed, 0 insertions, 0 deletions