public inbox for [email protected]  
help / color / mirror / Atom feed
From: Heikki Linnakangas <[email protected]>
To: Peter Eisentraut <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: Re: Remove support for old realpath() API
Date: Mon, 5 Aug 2024 10:41:25 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

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)







view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Remove support for old realpath() API
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox