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 1ps6M9-00086x-Cd for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Apr 2023 18:28:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ps6M8-0002b4-83 for pgsql-hackers@arkaria.postgresql.org; Thu, 27 Apr 2023 18:28:36 +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 1ps6M7-0002au-VD for pgsql-hackers@lists.postgresql.org; Thu, 27 Apr 2023 18:28:35 +0000 Received: from mail.thelabyrinth.net ([45.56.70.56]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ps6M2-002Dd3-Fl; Thu, 27 Apr 2023 18:28:34 +0000 Received: from [192.168.100.207] (unknown [176.29.117.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dsteele) by mail.thelabyrinth.net (Postfix) with ESMTPSA id E26CA54667; Thu, 27 Apr 2023 18:28:28 +0000 (UTC) Message-ID: <8fc461d7-aac6-0950-bcea-dc3aba5ff56b@pgmasters.net> Date: Thu, 27 Apr 2023 21:28:26 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Possible regression setting GUCs on \connect To: Tom Lane Cc: Alexander Korotkov , Pg Hackers References: <1174363.1682612001@sss.pgh.pa.us> <1192180.1682619395@sss.pgh.pa.us> Content-Language: en-US From: David Steele In-Reply-To: <1192180.1682619395@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 4/27/23 21:16, Tom Lane wrote: > David Steele writes: >> Seems plausible. This can be reproduced by cloning [1] into contrib and >> running `make check`. I can work out another test case but it may not >> end up being simpler. >> [1] https://github.com/pgaudit/pgaudit/tree/dev-pg16-ci > > I tried to replicate this per that recipe, but it works for me: > > $ git clone https://github.com/pgaudit/pgaudit.git pgaudit > $ cd pgaudit > $ git checkout dev-pg16-ci > $ make -s check > # +++ regress check in contrib/pgaudit +++ > # using temp instance on port 61696 with PID 1191703 > ok 1 - pgaudit 310 ms > 1..1 > # All 1 tests passed. I included the errors in the expect log so I could link to them. So test success means the error is happening. > Note that I had to add > > $ diff -pud Makefile~ Makefile > --- Makefile~ 2023-04-27 14:02:19.041714415 -0400 > +++ Makefile 2023-04-27 14:07:10.056909016 -0400 > @@ -20,3 +20,5 @@ top_builddir = ../.. > include $(top_builddir)/src/Makefile.global > include $(top_srcdir)/contrib/contrib-global.mk > endif > + > +EXTRA_INSTALL += contrib/pg_stat_statements Yeah, I rarely run tests in-tree, but I'll add this if it does not break our regular CI. -David