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 1pbplD-0000ff-2l for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 21:31:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pbplB-0001kJ-1b for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Mar 2023 21:31:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pbplA-0001kA-NN for pgsql-hackers@lists.postgresql.org; Mon, 13 Mar 2023 21:31:12 +0000 Received: from sender3-op-o19.zoho.com ([136.143.184.19]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pbpl3-0003jc-Nj for pgsql-hackers@postgresql.org; Mon, 13 Mar 2023 21:31:12 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1678743058; cv=none; d=zohomail.com; s=zohoarc; b=HSMHe2CppnMaXssbhhFdp5vaqj5UL1SaXVLGvlUF8hP46qEd3brbB8zI8gU3ikp9mH9XtgFHcvU+FG5azVk48g0a5XC3jq88CXGoicrOGdAWCISSM1zTVYI6nNMdavjPUj82de9cFcdrucOJMgv1AoXkS6Ans+FLeyGItAHPPqQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678743058; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=CVJ9RX4m69Ei2G04qI+Av9mDQifvX/X91RVwW34RUuI=; b=JzA7UoayxWoA5WCCrgxwZNaB/zhV/N4BwWn0Bvpt/Y0MdUcx/X9K3o9TSz7+pgaQxgPaRKTAvwrLz5VrFwqYZtztPoIRiAs4cqwhO7mEp0ulHsSw9NyG5cYj0IZJKz6t+38XThM8MDRti+Uzhsby66wLyaz7Vl78LEODgnCEMiQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=highgo.ca; spf=pass smtp.mailfrom=david.zhang@highgo.ca; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1678743058; s=zoho; d=highgo.ca; i=david.zhang@highgo.ca; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=CVJ9RX4m69Ei2G04qI+Av9mDQifvX/X91RVwW34RUuI=; b=Vo7hBaLdNrzuK3wGJ7OIYFqtJuTAEt0mBnUf2+vbn6zb9r2IHrDaFuTyMpcyqY+Y c33wfWr2T8G96dhMV8+ZbiD9SCoNVdMLut/qlDSLbfUDC/KbG3qmpJTqv9e16Ienhhz KQpNBduX0kJpU/MJvEuPB1Ri9fc8RjGVn+G6qs2c= Received: from [192.168.1.88] (d66-183-207-156.bchsia.telus.net [66.183.207.156]) by mx.zohomail.com with SMTPS id 1678743056372709.052096646932; Mon, 13 Mar 2023 14:30:56 -0700 (PDT) Message-ID: Date: Mon, 13 Mar 2023 14:30:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [BUG] pg_stat_statements and extended query protocol Content-Language: en-US To: Michael Paquier , "Imseih (AWS), Sami" Cc: "pgsql-hackers@postgresql.org" References: <9B9BB0F2-68A3-44E0-946E-3D9051F83369@amazon.com> <3499c5ed-5511-0801-ccfe-297b098aa8fe@highgo.ca> From: David Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk >> It appears you must "make clean; make install" to correctly compile after >> applying the patch. > In a git repository, I've learnt to rely on this simple formula, even > if it means extra cycles when running ./configure: > git clean -d -x -f > Thank you all for pointing out that it needs make clean first. After make clean followed by recompile with the patch then both make check from regression test and pg_stat_statements extension report all test passed. So the current existing test cases can't really detect any change from this patch, then it would be better to add some test cases to cover this. Best regards, David