Skip to content

Commit 3ac70e8

Browse files
author
Marina Polyakova
committed
PGPRO-11713: fix Windows build for PostgreSQL 14/15
See the commits "Replace pgwin32_is_junction() with lstat()." in PostgreSQL: - ca9921936ea352df30db2955fb2662695d8377be (PostgreSQL 14) - f95ad555de5623588bcc6e48fe8a3fd50d721216 (PostgreSQL 15)
1 parent 31ba565 commit 3ac70e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ptrack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ ptrack_gather_filelist(List **filelist, char *path, Oid spcOid, Oid dbOid)
382382
ptrack_gather_filelist(filelist, subpath, spcOid, InvalidOid);
383383
}
384384
/* TODO: is it enough to properly check symlink support? */
385-
#if !defined(WIN32) || (PG_VERSION_NUM >= 160000)
385+
#if !defined(WIN32) || (PG_VERSION_NUM >= 140000)
386386
else if (S_ISLNK(fst.st_mode))
387387
#else
388388
else if (pgwin32_is_junction(subpath))

0 commit comments

Comments
 (0)