Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9i5w-0004XF-GD for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Oct 2018 02:50:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g9i5u-0004WT-CL for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Oct 2018 02:49:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9i5u-0004WK-1Z for pgsql-hackers@lists.postgresql.org; Tue, 09 Oct 2018 02:49:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9i5r-0008DA-Dr for pgsql-hackers@postgresql.org; Tue, 09 Oct 2018 02:49:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w992nowZ021197; Mon, 8 Oct 2018 22:49:50 -0400 From: Tom Lane To: Thomas Munro cc: Jesper Pedersen , Magnus Hagander , Oskari Saarenmaa , Pg Hackers , Tobias Oberstein Subject: Re: pread() and pwrite() In-reply-to: References: <20180720081459.GC22214@saarenmaa.fi> <7f379440-dfec-70ca-8a0d-942f1381936b@redhat.com> <983a8d48-64fa-e2f7-55c4-41e20bc51ef5@redhat.com> <19344.1539050134@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 09 Oct 2018 15:27:48 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <21195.1539053390.1@sss.pgh.pa.us> Date: Mon, 08 Oct 2018 22:49:50 -0400 Message-ID: <21196.1539053390@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Tue, Oct 9, 2018 at 2:55 PM Tom Lane wrote: >> Yeah, I've been burnt by that too recently. It occurs to me we could make >> that at least a little less painful if we formatted the macro with one >> line per function name: >> >> AC_CHECK_FUNCS([ >> cbrt >> clock_gettime >> fdatasync >> ... >> wcstombs_l >> ]) >> >> You'd still get conflicts in configure itself, of course, but that >> doesn't require manual work to resolve -- just re-run autoconf. > +1, was about to suggest the same! Sold, I'll go do it. regards, tom lane