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 1g9x5M-0007AW-63 for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Oct 2018 18:50:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g9x5J-0003PG-OB for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Oct 2018 18:50:21 +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 1g9x5J-0003Ox-CW for pgsql-hackers@lists.postgresql.org; Tue, 09 Oct 2018 18:50:21 +0000 Received: from mail-yw1-xc42.google.com ([2607:f8b0:4864:20::c42]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g9x5F-0004Rl-Lu for pgsql-hackers@postgresql.org; Tue, 09 Oct 2018 18:50:20 +0000 Received: by mail-yw1-xc42.google.com with SMTP id a197-v6so1101611ywh.9 for ; Tue, 09 Oct 2018 11:50:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=Spx0/OXR7WFgXrmLgmNVJ0KZNPDPO85U5FmFHQu+ITQ=; b=CJM7EPMNCdogFmoPjrLNNSEA3sY1P2FFRMPvLjHM8bKlc3VxetvoIC+kFGWYWKd3Gi MnO2KNlvpZ/0s/THCNtsv1Ghy+K0p0jujKmiUuxwuSV0Odva3pjIyuY2iTHvPJ8XgKNT DI0uRbo1FmoKLMTFFcw0xOuY1MHtYvF94jSqjLwEamX6B0GRt8frvZ4KIwHgT5CKJ3fe TyuHOZpRHd42PCamKDQTFJLZ+vTSf1YspgEpxpnrjfkEpXoqauH+1LFBp7bII3zgxNnV JpEDU8PcQkDGKeq680+xqhAXRHz8Jst+cxH21wrS04FGQ21hIdCNkpZBE68M9Qw62wcZ a1cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Spx0/OXR7WFgXrmLgmNVJ0KZNPDPO85U5FmFHQu+ITQ=; b=lq1beC9NoAVn0JWljnY2p+bs1AStr/ftTTo9WN4tcjmLVvXtCkUXPB8RWQQhQ8f48r zW3+pAc55BPgPLyL/7ZO4BSfyv6mrn+P+LXR+MzPAD6ARZqPDFO5m5MxSS0EMmjhFVbQ YTQOVkceuOmhAtvGv3IOFBoj7RzcCBvB7xfmG5MQJcraEyf/blYT8RjqEu38VWPLwGQA 8GFdO6xduYm49wKjkui7wSNq1QXNas+KL9J7LT9EJYS82EaOpwmRvs1KBA4S8PjmvKvq nJigC66X07kuNROHY3GUf2XAsGkobhWxbAZGsquStij3gfOOWDJUwkc/Me/2/ETUSDl7 EDTg== X-Gm-Message-State: ABuFfohi5NKRJGVX5VQpJ6aS/3owvpvZpjSOcjfR9qhfjgcBDzoQDwlo I0VK3mwKc05HFjKwjVC/sj6I+CCDEQ== X-Google-Smtp-Source: ACcGV60g3PoiKy81ks7FX+gVl+zwgI6PH3P+SC8Q1eakU5CcSRug1EqOKb1ZDFMb054sWneLpLpL8w== X-Received: by 2002:a81:ed12:: with SMTP id k18-v6mr17080569ywm.38.1539111016713; Tue, 09 Oct 2018 11:50:16 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id l128-v6sm3537124ywd.35.2018.10.09.11.50.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 11:50:16 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pread() and pwrite() To: Andres Freund Cc: Tom Lane , Thomas Munro , Jesper Pedersen , Magnus Hagander , Oskari Saarenmaa , Pg Hackers , Tobias Oberstein 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> <89deb81f-390b-4507-9803-e4238a855520@2ndQuadrant.com> <20181009183704.dglhavr34dksce6a@alap3.anarazel.de> Message-ID: Date: Tue, 9 Oct 2018 14:50:15 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20181009183704.dglhavr34dksce6a@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/09/2018 02:37 PM, Andres Freund wrote: > On 2018-10-09 14:32:29 -0400, Andrew Dunstan wrote: >> >> On 10/08/2018 09:55 PM, Tom Lane wrote: >>> Thomas Munro writes: >>>> Rebased again. Patches that touch AC_CHECK_FUNCS are fun like that! >>> 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. >>> >>> >> >> >> By and large I think it's better not to submit patches with changes to >> configure, but to let the committer run autoconf. >> OTOH, this will probably confuse the heck out of the cfbot patch checker. > And make life harder for reviewers. > > -1 on this one. > Maybe I'm thinking back to the time when we used to use a bunch of old versions of autoconf ... cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services