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 1g9jK8-0007dH-7k for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Oct 2018 04:08:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g9jK6-0006Py-OW for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Oct 2018 04:08:42 +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 1g9jK6-0006Po-Dp for pgsql-hackers@lists.postgresql.org; Tue, 09 Oct 2018 04:08:42 +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 1g9jK3-0001W2-Rq for pgsql-hackers@postgresql.org; Tue, 09 Oct 2018 04:08:41 +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 w9948X2Z002146; Tue, 9 Oct 2018 00:08:34 -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: <21196.1539053390@sss.pgh.pa.us> 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> <21196.1539053390@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Mon, 08 Oct 2018 22:49:50 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2144.1539058113.1@sss.pgh.pa.us> Date: Tue, 09 Oct 2018 00:08:33 -0400 Message-ID: <2145.1539058113@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I wrote: > 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: >> +1, was about to suggest the same! > Sold, I'll go do it. Learned a few new things about M4 along the way :-( ... but done. You'll need to rebase the pread patch again of course. regards, tom lane