Better support for symlinks on Windows... - Mailing list pgsql-hackers

From Michael Paquier
Subject Better support for symlinks on Windows...
Date
Msg-id CAB7nPqT2m_FB_atNWhAEPuQZZh5t-w+51S09AdrD9w_zh-EfvA@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi all.

I just bumped into the following post:
https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#IAHXCu04bDmrrhxi.97

But... That's still Windows-specific as it uses a non-POSIX routine
CreateSymbolicLink():
https://msdn.microsoft.com/en-us/library/windows/desktop/aa363866(v=vs.85).aspx

I am wondering why they continue making the life of devs more
complicated as any application is going to need to have a wrapper
calling this function just for WIN32 (readlink of course does not
exist there, we have pgreadlink that uses junction points).
-- 
Michael



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [sqlsmith] Failed assertion in _hash_splitbucket_guts
Next
From: Alvaro Herrera
Date:
Subject: Re: patch: function xmltable