Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbNXc-0004PO-Km for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Oct 2021 13:46:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mbNXb-0005Jv-H1 for pgsql-hackers@arkaria.postgresql.org; Fri, 15 Oct 2021 13:46:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbNXb-0005Jm-8a for pgsql-hackers@lists.postgresql.org; Fri, 15 Oct 2021 13:46:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mbNXX-0006Zo-RS for pgsql-hackers@postgresql.org; Fri, 15 Oct 2021 13:46:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 19FDkIeH952793; Fri, 15 Oct 2021 09:46:18 -0400 From: Tom Lane To: Julien Rouhaud cc: =?UTF-8?B?0JzQtdC70YzQvdC40LrQvtCyINCQ0L3RgtC+0L0g0JDQvdC00YDQtdC10LLQuNGH?= , pgsql-hackers Subject: Re: installcheck fails when compute_query_id=on or pg_stat_statsement is loaded In-reply-to: References: <1634283396.372373993@f75.i.mail.ru> Comments: In-reply-to Julien Rouhaud message dated "Fri, 15 Oct 2021 16:35:25 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <952791.1634305578.1@sss.pgh.pa.us> Date: Fri, 15 Oct 2021 09:46:18 -0400 Message-ID: <952792.1634305578@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Julien Rouhaud writes: > ... Note that you don't really need to enable > pg_stat_statements, enabling compute_query_id is enough. The query > identifier is only displayed for EXPLAIN (VERBOSE), so it's already a > bit filtered. I don't see any simple way to entirely avoid the > problem though. > There are already many options that can break the regression tests, so > maybe it's ok to accept that this is yet another one. Yeah, that's my reaction. We could add "compute_query_id = off" to the database-level settings set up by pg_regress, but that cure seems worse than the disease. It would make it impossible to run the regression tests with pg_stat_statements loaded, which you might wish to do (just ignoring the bogus test failures) as a way of testing pg_stat_statements. regards, tom lane