pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: David Steele <david@pgmasters.net>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
Subject: Re: [PATCH v3 1/1] Fix detection of preadv/pwritev support for OSX.
Date: Tue, 30 Mar 2021 21:51:34 -0400
Message-ID: <3113319.1617155494@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGLTTeEiQq9of=kDL_r_RT6LdSKCZ4fUX0qjNqFinEzswQ@mail.gmail.com>
References: <20210122193230.25295-1-james.hilliard1@gmail.com>
	<CADvTj4pZy=BNW00dtOA5LTBDiSMo2bXaea_gh8UQSLOsn+mRNQ@mail.gmail.com>
	<ef0dbb86-511d-94a0-de54-ce526c505a4a@pgmasters.net>
	<CADvTj4qwmJgqWB5zStrPAxRL2DsPThtwOubAAUPUSh0XSY0JTw@mail.gmail.com>
	<CA+hUKGJ9Fsy3Hdgs8BpgBd+J06qo9=4LdGBK5sWxzBt08fENgg@mail.gmail.com>
	<CADvTj4oSfH8qN-v_W1ydbA5uJkChxCj8RntwsH-EStytygtALg@mail.gmail.com>
	<CA+hUKGJP4nCdi1jKQ5rYJpNwMKVskOA6k=yW36K254ok_6_AZg@mail.gmail.com>
	<2781003.1617083917@sss.pgh.pa.us>
	<CADvTj4p0_QjY+XVOSDDT4GrwwKMXHE8=VCkKSihPQH=uEXjsBQ@mail.gmail.com>
	<CA+hUKGLTTeEiQq9of=kDL_r_RT6LdSKCZ4fUX0qjNqFinEzswQ@mail.gmail.com>

Thomas Munro <thomas.munro@gmail.com> writes:
> Personally I'm mostly concerned about making it easy for new
> contributors to get a working dev system going on a super common
> platform without dealing with hard-to-diagnose errors, than people who
> actually want a different target as a deliberate choice.  Do I
> understand correctly that there a period of time each year when major
> upgrades come out of sync and lots of people finish up running a
> toolchain and OS with this problem for a while due to the default
> target not matching?   If so I wonder if other projects are running
> into this with AC_REPLACE_FUNCS and what they're doing.

Yeah, we've seen this happen at least a couple of times, though
it was only during this past cycle that we (I anyway) entirely
understood what was happening.

The patches we committed in January (4823621db, 9d23c15a0, 50bebc1ae)
to improve our PG_SYSROOT selection heuristics should theoretically
improve the situation ... though I admit I won't have a lot of
confidence in them till we've been through a couple more rounds of
asynchronous-XCode-and-macOS releases.  Still, I feel that we
ought to leave that code alone until we see how it does.

			regards, tom lane





view thread (25+ messages)  latest in thread

Message-ID: <3113319.1617155494@sss.pgh.pa.us>
Permalink:  ../3113319.1617155494@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3113319.1617155494@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, james.hilliard1@gmail.com, david@pgmasters.net, s.shinderuk@postgrespro.ru
  Subject: Re: [PATCH v3 1/1] Fix detection of preadv/pwritev support for OSX.
  In-Reply-To: <3113319.1617155494@sss.pgh.pa.us>
  References: <20210122193230.25295-1-james.hilliard1@gmail.com> <CADvTj4pZy=BNW00dtOA5LTBDiSMo2bXaea_gh8UQSLOsn+mRNQ@mail.gmail.com> <ef0dbb86-511d-94a0-de54-ce526c505a4a@pgmasters.net> <CADvTj4qwmJgqWB5zStrPAxRL2DsPThtwOubAAUPUSh0XSY0JTw@mail.gmail.com> <CA+hUKGJ9Fsy3Hdgs8BpgBd+J06qo9=4LdGBK5sWxzBt08fENgg@mail.gmail.com> <CADvTj4oSfH8qN-v_W1ydbA5uJkChxCj8RntwsH-EStytygtALg@mail.gmail.com> <CA+hUKGJP4nCdi1jKQ5rYJpNwMKVskOA6k=yW36K254ok_6_AZg@mail.gmail.com> <2781003.1617083917@sss.pgh.pa.us> <CADvTj4p0_QjY+XVOSDDT4GrwwKMXHE8=VCkKSihPQH=uEXjsBQ@mail.gmail.com> <CA+hUKGLTTeEiQq9of=kDL_r_RT6LdSKCZ4fUX0qjNqFinEzswQ@mail.gmail.com> <3113319.1617155494@sss.pgh.pa.us>

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

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