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.92) (envelope-from ) id 1jDvew-0003Ul-Ho for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2020 19:44:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jDvev-0007ig-2M for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2020 19:44:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jDveu-0007gm-M6 for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2020 19:44:20 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jDveq-0003Ls-EQ for pgsql-hackers@postgresql.org; Mon, 16 Mar 2020 19:44:18 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 931241BC21FE7 for ; Mon, 16 Mar 2020 12:44:14 -0700 (MST) Date: Mon, 16 Mar 2020 12:44:14 -0700 (MST) From: legrand legrand To: pgsql-hackers@postgresql.org Message-ID: <1584387854600-0.post@n3.nabble.com> In-Reply-To: <20200314172733.mg7qpyumlyythm25@nol> References: <20200309103142.GA45401@nol> <20200312063109.bzw4fbk64gpcbhhh@nol> <1584180240397-0.post@n3.nabble.com> <20200314172733.mg7qpyumlyythm25@nol> Subject: Re: Planning counters in pg_stat_statements (using pgss_store) 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 > I'm instead attaching a v7 which removes the assert in pg_plan_query, and > modify pgss_planner_hook to also ignore queries without a query text, as > this > seems the best option. Ok, it was the second solution, go on ! -- Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html