| From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> | 
|---|---|
| To: | Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> | 
| Subject: | Re: Remove support for old realpath() API | 
| Date: | 2024-08-05 07:41:25 | 
| Message-ID: | 188d0f5f-aed9-46b6-a9a6-eee55401f763@iki.fi | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
On 05/08/2024 09:12, Peter Eisentraut wrote:
> The now preferred way to call realpath() is by passing NULL as the
> second argument and get a malloc'ed result.  We still supported the
> old way of providing our own buffer as a second argument, for some
> platforms that didn't support the new way yet.  Those were only
> Solaris less than version 11 and some older AIX versions (7.1 and
> newer appear to support the new variant).  We don't support those
> platforms versions anymore, so we can remove this extra code.
+1
We don't seem to have any mentions of POSIX or SuS in docs, in the 
installation sections. There are a few mentions of POSIX-1.2008 and 
POSIX-1.2001 it in the commit log, though, where we require features 
specified by those. Can we rely on everything from POSIX-1-2008 
nowadays, or is it more on a case-by-case basis, depending on which 
parts of POSIX are supported by various platforms?
-- 
Heikki Linnakangas
Neon (https://neon.tech)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2024-08-05 08:49:03 | Re: Fixed small typo in bufpage.h | 
| Previous Message | Anthonin Bonnefoy | 2024-08-05 07:19:08 | Re: Set query_id for query contained in utility statement |