Better support for symlinks on Windows...

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Better support for symlinks on Windows...
Date: 2016-12-03 13:14:15
Message-ID: CAB7nPqT2m_FB_atNWhAEPuQZZh5t-w+51S09AdrD9w_zh-EfvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2016-12-03 15:03:58 Re: patch: function xmltable
Previous Message Amit Kapila 2016-12-03 11:50:11 Re: [sqlsmith] Failed assertion in _hash_splitbucket_guts