Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1yfU-0004cu-IA for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Jun 2015 15:08:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z1yfU-0004Gr-3F for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Jun 2015 15:08:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z1yfT-0004Gl-FJ for pgsql-bugs@postgresql.org; Mon, 08 Jun 2015 15:08:51 +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) (envelope-from ) id 1Z1yfN-0002VP-BP for pgsql-bugs@postgresql.org; Mon, 08 Jun 2015 15:08:50 +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 t58F8YoP001910; Mon, 8 Jun 2015 11:08:35 -0400 From: Tom Lane To: held911@163.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13413: pg_stat_statements don't statistics "DEALLOCATE ALL" statements In-reply-to: <20150608062415.2791.51100@wrigleys.postgresql.org> References: <20150608062415.2791.51100@wrigleys.postgresql.org> Comments: In-reply-to held911@163.com message dated "Mon, 08 Jun 2015 06:24:15 -0000" Date: Mon, 08 Jun 2015 11:08:34 -0400 Message-ID: <1909.1433776114@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org held911@163.com writes: > this function is ok in pg 9.3.5. But , it does not work in pg 9.4.1. This is not a bug, it's an intentional behavioral change. See the 9.4 release notes: * Make pg_stat_statements ignore DEALLOCATE commands (Fabien Coelho) It already ignored PREPARE, as well as planning time in general, so this seems more consistent. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs