Re: [PATCH v3 1/1] Fix detection of preadv/pwritev support for OSX.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: James Hilliard <james(dot)hilliard1(at)gmail(dot)com>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Sergey Shinderuk <s(dot)shinderuk(at)postgrespro(dot)ru>
Subject: Re: [PATCH v3 1/1] Fix detection of preadv/pwritev support for OSX.
Date: 2021-03-30 05:58:37
Message-ID: 2781003.1617083917@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> I'll move it when committing. I'll let this patch sit for another day
> to see if any other objections show up.

FWIW, I remain fairly strongly against this, precisely because of the
point that it requires us to start using a randomly different
feature-probing technology anytime Apple decides that they're going to
implement some standard API that they didn't before. Even if it works
everywhere for preadv/pwritev (which we won't know in advance of
buildfarm testing, and maybe not then, since detection failures will
probably be silent), it seems likely that we'll hit some case in the
future where this interacts badly with some other platform's weirdness.
We haven't claimed in the past to support MACOSX_DEPLOYMENT_TARGET,
and I'm not sure we should start now. How many people actually care
about that?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2021-03-30 06:03:09 Re: Idea: Avoid JOINs by using path expressions to follow FKs
Previous Message Andres Freund 2021-03-30 05:30:24 Re: Replication slot stats misgivings