Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5XOt-00089Y-Tf for pgsql-committers@arkaria.postgresql.org; Mon, 09 Apr 2018 14:04:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5XOs-0000Aa-9L for pgsql-committers@arkaria.postgresql.org; Mon, 09 Apr 2018 14:04:02 +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 1f5XOs-0000AR-0v for pgsql-committers@lists.postgresql.org; Mon, 09 Apr 2018 14:04:02 +0000 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f5XOp-0000YC-5Q for pgsql-committers@lists.postgresql.org; Mon, 09 Apr 2018 14:04:00 +0000 Received: by mail-io0-x244.google.com with SMTP id d6so9737995iog.1 for ; Mon, 09 Apr 2018 07:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sWBkwtmHlAh+SBUXdLt+m89DZ+IFYyQ9hNfndov356k=; b=JNZr4uHimBRzcD8Fbm7hCwbUgQ820b4NV+GpYFXmOepk5+T1yISFAtRCqx7ONGTT1T XmRhqFqZhkI4WZRXXAUc8tXlzFJwJc+F9qd4J5FEoNn++wfKIRz6g1v7eKpryhEl1cHz bjFC9wBVQOnDzzTY1O2MdO2imKw8aUH4M8hUcRKfVVkkObU5cEgAR6QnmNkmEGN5p6CY a5KCkcEK5cPXWX/+6Mn+3tyOBlhShwHEkLVlQRaQkxQmEd3V03gXuiuCLEK3aZJnaRO2 ypn/fg9qE3KfA3guLBzzmEvBD4wIE1C89nPpEljUo3qTtPS1+Al+T4vN/yvRYw11NI7t IKIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sWBkwtmHlAh+SBUXdLt+m89DZ+IFYyQ9hNfndov356k=; b=R1+wzLpVDpz9FiVshe3i/Mmr2yLs92hQC6H76QdNJ+XDg9yZHJge/3F1c+uyjNBSLP sXTlavrpQafzal0uO43tcIgPs4TI3pyFeJRHc4MHmSB/a7nWC8TK1Dg/FMKw/39wGMPd XLctdnTFZMN6udg0wAdgOYutNpYKRiuzYsq1/WKEj9AaGqBfcPDSbcxAgl2sMit/04cE xRor5+0e6hJdqDC9G0gsoEK2kbs3BjSDMA0RJXGWNJoZn2DniYKu4+UTCuw3Si/r0jdo PMzWJXHJwckxr1Nc5CQd8Hll97uwWGs59tJ+fXZhX7IRDkFoqKaG3Wmeb3S2mXaloTvg azhQ== X-Gm-Message-State: ALQs6tDxeQD0DABBiDih90TD7szq1Pc0dV7Qk2KZEbfcxCUcXI9CFY9y erAm0m4J5/e0uVIh5/PoBWT63eCRLRmRtpGGqU2WY1jF X-Google-Smtp-Source: AIpwx49O1j+KY23bgRwAO0PxcfWlS49f4SfITi1LuXUoJEhEPbNBFGnd5qptWkz9jcgKX55Nz4d9MeFP8PSFaIeimQ0= X-Received: by 10.107.7.68 with SMTP id 65mr34977864ioh.216.1523282638111; Mon, 09 Apr 2018 07:03:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.182.24 with HTTP; Mon, 9 Apr 2018 07:03:57 -0700 (PDT) In-Reply-To: References: <20180408063734.titqzcvrzvrlp2bj@alvherre.pgsql> <87k1tignsc.fsf@news-spur.riddles.org.uk> <1876.1523224471@sss.pgh.pa.us> From: David Rowley Date: Tue, 10 Apr 2018 02:03:57 +1200 Message-ID: Subject: Re: pgsql: Support partition pruning at execution time To: Tom Lane Cc: Andrew Gierth , Alvaro Herrera , pgsql-committers@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 9 April 2018 at 15:03, David Rowley wrote: > On 9 April 2018 at 13:03, David Rowley wrote: > Okay, I've written and attached a fix for this. I'm not 100% certain > that this is the cause of the problem on pademelon, but the code does > look wrong, so needs to be fixed. Hopefully, it'll make pademelon > happy, if not I'll think a bit harder about what might be causing that > instability. Added to PG11 open items list [1]. [1] https://wiki.postgresql.org/wiki/PostgreSQL_11_Open_Items#Open_Issues -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services