postgresql/src
Thomas Munro 02a4ec478d 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
(cherry picked from commit f357233c9d)

Author: Thomas Munro <tmunro@postgresql.org>
Author: Alexandra Wang <alexandra.wang.oss@gmail.com>
2024-11-08 09:36:10 +10:30
..
backend Check for STATUS_DELETE_PENDING on Windows. 2024-11-08 09:34:00 +10:30
bin vacuumdb: Schema-qualify operator in catalog query's WHERE clause. 2024-10-07 16:49:20 -05:00
common Guard against enormously long input in pg_saslprep(). 2024-10-28 14:33:55 -04:00
fe_utils Don't spuriously report FD_SETSIZE exhaustion on Windows. 2023-10-14 15:54:49 -07:00
include Add missing include guard to win32ntdll.h. 2024-11-08 09:35:45 +10:30
interfaces ecpg: Fix out-of-bound read in DecodeDateTime() 2024-10-23 08:35:05 +09:00
makefiles Add NO_INSTALL option to pgxs 2021-05-27 13:58:29 +02:00
pl Further refine _SPI_execute_plan's rule for atomic execution. 2024-10-16 17:36:30 -04:00
port Make unlink() work for junction points on Windows. 2024-11-08 09:36:10 +10:30
template On NetBSD, force dynamic symbol resolution at postmaster start. 2022-08-30 17:29:03 -04:00
test Revert "For inplace update, send nontransactional invalidations." 2024-11-02 09:05:05 -07:00
timezone Update time zone data files to tzdata release 2024b. 2024-10-29 11:50:05 -04:00
tools Add missing include guard to win32ntdll.h. 2024-11-08 09:35:45 +10:30
tutorial Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Suppress macOS warnings about duplicate libraries in link commands. 2023-09-29 14:07:30 -04:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
nls-global.mk Add errhint_plural() function and make use of it 2021-03-31 09:16:25 +02:00