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 1eocUP-0003ce-Ld for pgsql-docs@arkaria.postgresql.org; Wed, 21 Feb 2018 22:03:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eocUN-0000WK-Rz for pgsql-docs@arkaria.postgresql.org; Wed, 21 Feb 2018 22:03:47 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eocUN-0000WA-MM for pgsql-docs@lists.postgresql.org; Wed, 21 Feb 2018 22:03:47 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eocUD-0006Kc-I8 for pgsql-docs@postgresql.org; Wed, 21 Feb 2018 22:03:45 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 36855B4AD479 for ; Wed, 21 Feb 2018 15:03:35 -0700 (MST) Date: Wed, 21 Feb 2018 15:03:35 -0700 (MST) From: legrand legrand To: pgsql-docs@postgresql.org Message-ID: <1519250615220-0.post@n3.nabble.com> In-Reply-To: <151923814385.3883.9095844204530996482@wrigleys.postgresql.org> References: <151923814385.3883.9095844204530996482@wrigleys.postgresql.org> Subject: Re: Statements that time out are not considered here MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, It seems that auto_explain works only with finished statements. I think (to be confirmed) that SQL statements not finished because timed-out, cancelled, killed, or simply errored are not giving any output. It would be nice if that could be change, giving a partial explain analyze as done in https://github.com/postgrespro/pg_query_state/blob/PGPRO10/runtime_explain.patch Regards PAscal -- Sent from: http://www.postgresql-archive.org/PostgreSQL-docs-f2165602.html