Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hi1oZ-0003Hg-3E for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Jul 2019 19:18:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hi1oX-00041D-UN for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Jul 2019 19:18:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hi1oX-0003yV-Jd for pgsql-hackers@lists.postgresql.org; Mon, 01 Jul 2019 19:18:09 +0000 Received: from mail-qk1-f196.google.com ([209.85.222.196]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hi1oU-0001pp-JM for pgsql-hackers@lists.postgresql.org; Mon, 01 Jul 2019 19:18:09 +0000 Received: by mail-qk1-f196.google.com with SMTP id c11so11948129qkk.8 for ; Mon, 01 Jul 2019 12:18:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=r6czSVp275AAS0Ztf3Lxq07G7ANeHZOPVKeVpcaKWkU=; b=t0Mbvcv1xY9Ry3mhqw32ryVBB04dqW81r/aRGsJ6ZyMBUrYCK5JdH08PpSO7zNVcDt zSSJJ0IY6SRG03uzRZhvTXsXUOE4c7njfV/1h3rKVuDfNrbAFAWrqjmdlgaq0wkLM5t6 5kCY5b9gGz3aFoUfKWN9MhPaGjBdjfHQrLHcKk+zny17srqw1FtPdNXgMt7IG6KYAvUY BXkeHDh2PdFlAxh9pgO3AM6aMz/FCLKUKxCMiWUKFclDvQ1WsLUKLnNl3gl6PoF2umYc uyva9mJIenmJVLLfjE/Nu24HW4gsi6q6RMpUbEoymLUjJcDjdshBIRnxAKxacOX4ICPG ssWg== X-Gm-Message-State: APjAAAUvzxWjyMYFAx5qsgsX3LwkCxolRZY/PzwRvIUpOEyMV6C186bH 9pQnkwnwzM7LTChNx+lFoQq0vVz8HNL3rw== X-Google-Smtp-Source: APXvYqzonhysMjVckH8mQRvr7vxpPK7hoobqqU1iVqa06OU+n4xdSGIduq0r/7nmu/icPrDmXchWIg== X-Received: by 2002:a37:4ad7:: with SMTP id x206mr22831624qka.85.1562008684447; Mon, 01 Jul 2019 12:18:04 -0700 (PDT) Received: from localhost.localdomain (c-24-61-8-151.hsd1.ma.comcast.net. [24.61.8.151]) by smtp.gmail.com with ESMTPSA id v30sm5908061qtk.45.2019.07.01.12.18.03 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jul 2019 12:18:03 -0700 (PDT) Reply-To: jesper.pedersen@redhat.com Subject: Re: POC: converting Lists into arrays To: Tom Lane Cc: David Rowley , Andres Freund , Robert Haas , PostgreSQL Hackers References: <481.1551390571@sss.pgh.pa.us> <24783.1551568303@sss.pgh.pa.us> <20190303043424.itzy3ge52xrkpmpr@alap3.anarazel.de> <437.1551637744@sss.pgh.pa.us> <12684.1551723095@sss.pgh.pa.us> <20190304190612.vgqqsowzkrh22623@alap3.anarazel.de> <26464.1551734920@sss.pgh.pa.us> <20190304221101.hdg4vj5fo4eewh3b@alap3.anarazel.de> <20190304235402.nod3gbotk2qtd4nh@alap3.anarazel.de> <1131.1551746172@sss.pgh.pa.us> <14626.1558745627@sss.pgh.pa.us> <29297.1558799327@sss.pgh.pa.us> <25178.1562006685@sss.pgh.pa.us> From: Jesper Pedersen Organization: Red Hat Message-ID: Date: Mon, 1 Jul 2019 15:18:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <25178.1562006685@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 7/1/19 2:44 PM, Tom Lane wrote: > Yup, here's a rebase against HEAD (and I also find that check-world shows > no problems). Thanks - no further comments. > This is pretty much of a pain to maintain, since it changes > the API for lnext() which is, um, a bit invasive. I'd like to make a > decision pretty quickly on whether we're going to do this, and either > commit this patch or abandon it. > IMHO it is an improvement over the existing API. >> There is some unneeded MemoryContext stuff in async.c's >> pg_listening_channels() which should be cleaned up. > > Yeah, there's a fair amount of follow-on cleanup that could be undertaken > afterwards, but I've wanted to keep the patch's footprint as small as > possible for the moment. Assuming we pull the trigger, I'd then go look > at removing the planner's duplicative lists+arrays for RTEs and such as > the first cleanup step. But thanks for the pointer to async.c, I'll > check that too. > Yeah, I only called out the async.c change, as that function isn't likely to change in any of the follow up patches. Best regards, Jesper