Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6J9a-00035V-KD for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Nov 2016 15:26:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c6J9a-0006sN-7G for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Nov 2016 15:26:38 +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.84_2) (envelope-from ) id 1c6J9Z-0006pr-0D for pgsql-hackers@postgresql.org; Mon, 14 Nov 2016 15:26:37 +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.84_2) (envelope-from ) id 1c6J9W-0002Me-Oe for pgsql-hackers@postgresql.org; Mon, 14 Nov 2016 15:26:35 +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 uAEFQWih030196; Mon, 14 Nov 2016 10:26:32 -0500 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" Subject: Re: Something is broken about connection startup In-reply-to: References: <16447.1478818294@sss.pgh.pa.us> <23418.1478819074@sss.pgh.pa.us> <12438.1478895332@sss.pgh.pa.us> <29845.1479136671@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 14 Nov 2016 10:22:27 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30194.1479137192.1@sss.pgh.pa.us> Date: Mon, 14 Nov 2016 10:26:32 -0500 Message-ID: <30195.1479137192@sss.pgh.pa.us> X-Pg-Spam-Score: -4.7 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas writes: > I assume you're going to back-patch this, and the consequences of > failing to reset it before going idle could easily be vastly worse > than the problem you're trying to fix. So I'd rather not make > assumptions like "the client will probably never sleep between Bind > and Execute". I bet that's actually false, and I certainly wouldn't > want to bet the farm on it being true. No, I'm not at all proposing to assume that. But I may be willing to assume that "we don't hold a CatalogSnapshot between Bind and Execute unless we're also holding a transaction snapshot". I need to do a bit more research to see if that's actually true, though. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers