Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x65jd-0001Pj-2E for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 12:24:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x65jc-00Chri-16 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Sep 2026 12:24:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1x65jb-00ChrZ-2V for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 12:24:32 +0000 Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x65jX-00000000Nlo-1mPR for pgsql-hackers@lists.postgresql.org; Mon, 14 Sep 2026 12:24:31 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id DE7901D000C6; Mon, 14 Sep 2026 08:24:25 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 14 Sep 2026 08:24:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1789388665; x= 1789475065; bh=hehPY8/d30m8XBvpAVJ9U++192a6MFlmI0Y4nK7teDA=; b=J gp8PvhZS3uMpdQX7iflDmoZc9CXGTvUNZQvzgRgDN34MoEtz/t0HChkG5E+1Mf0K C8ly0/wB0ICHmxF4pUtoYvNnAyAnc6CcXduXlzxZ/c96piRqTfDXJBRkvwB8SrWy +Rmh/rMK6xFspmsXoE/iyj9i8xkzp5ScTg755+sCImTWCvHuA9vLC6RyN7KnGnZt qbW8N5NRxo1lwv1yU4PaIkMFoONjr5lqpbuDjmAkomn6s4K7GqwzDrNMPQ79z+/c z5AGcRmuRy1EQ4vnZR8O+t9XUHqFVi/nNGrMAo1KwrRk6rtK+abkPzoKtJJqEayG C2V04XoWmh4VaA4V2Dv/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1789388665; x=1789475065; bh=h ehPY8/d30m8XBvpAVJ9U++192a6MFlmI0Y4nK7teDA=; b=Mnlsuqk8UoQyeVhfW 9yICCtQmLJrEv/ezsB1p1WtcCGp7vkTR712HuGlXXFD1+qdzhmwu/acaMnwTNXl0 cR/uEBBobqycBdWTKFvhjJst5gMcMb7E3AnV5XUVwViLi4RwGj3m7jsljj+N5LHg Hdku2JqjvmWn1Hz2Xe9Z1g07bjkugV9cSX0wYYcCukEWRPLzJQUa6IazOKN6eCk2 n92w35Dv4pgsen/3iXgZkXvTkZlHmezLojtUMJzkF6FLTyGUgRJqiqs+hoIwNkCv FsADEATsqCwHR6e+iFI6xKR+5L9XW9pXodqv2ZVtZ3vAtuzUwEUPOqakk/eEy05z BglAg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFDETbsSpksv/oT2Zhup0zDYdzZ62y42h2AbhVbWlGcrbI6cKGcgDenR98u5h+7sy y9v81eMX/cd4SyGgexM26MUrkjJFVY6iAUsW4heTo6cek+omraJKuhDF8LL6JLcQ3oJrOq XQo80KxQYFWlNUMsOK1lGYFJD/mfSuSLpgjPmB3xVLP9ykjlZzf1jWivpEHO+Qe+QL9ezm 5D8Y/8AZ2k5yEmJ7VQs4rn5ubrPO/NN4R8MzuLrfPzV1sWijUkaF8e4L34zA3NbgoE9Drv b4x18nQZnqFLP7FLhhCKC3MG+Rh3d991KQYjdnOHpBnKLaTvfvtJ+td6Mppo/V2rtxnTnT 6pKJivTlUUjxdgZACEnPT87W9K/okZNopD+LOPcl93FzDk8e+/TEYviuQY6OUuNrbUjP8J UwiPSwMPmMrbfpo/BfT3XbFQ6srCK+nkhbLENmVxwLjSXKLFYMQ64ZXmivwbC354GdTZCc 0RZVkUIrCPG6AZTh7zH0wQ1Mer635Te+DEl9oAzBD8IApdnj7yhR5obB/2zw3a8cHSQWh2 btETuOi1oJQSApri729Qm5mrILKNiakkZgKGM+uY46LqHNlC7OWR+sFdG/GhXIzSbzSz+P ktNg4sh6gxsgYCjDebltHSbIzJip3ZZOeduINk1w/90zFhljzafveN4Xr1xQ X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Sep 2026 08:24:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1789388662; bh=u0d5MazLGwlZ77gQs6f1pOe3NI40tIKo2g+mpQudEZY=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=0sIWRQC1KuYRz+geBhW7tYKkp+N4ylwFWQKlRulcFwT+hfpLPB5SZKFJ1c0XX9ff+ r2XS1XasIPYIWsRxxEDniBtJikFKYDy7xPxIduBssX88mgcvZZXg230QqfOyruNekU nGta/sdiK2MTCh39kMWfR3WZ0r0Ob6Eu0uxtybC9UK9XgA3X3TGWYcNR7FQ3CLp6A3 TIKgUyYkxdVaeJjFqi9EiIteO8rj/TX3r+z60NsvrMYNpb89JsQDKNp4/nASDwpjlg nXuNbSsEO6UltVzY9qWvmPPHwWToX4Ao7j8tc0Hy+BTBCUMQ+IrwFje50EFviAO/+Z D5BGy3mnzLFqA== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id CC003B002D8; Mon, 14 Sep 2026 14:24:22 +0200 (CEST) Date: Mon, 14 Sep 2026 14:24:22 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: m.litsarev@postgrespro.ru Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Redundant headers in pg_stat_statements Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Sep-14, m.litsarev@postgrespro.ru wrote: > Hi, hackers! > > I accidentially found that some headers in pg_stat_statements are redundant. > A small patch with removed headers is attached. Hi, I'm not sure that this achieves a whole lot -- these headers you remove are indirectly included by some other header, so removing the direct inclusions has no practical effect. See the inclusion graph for that file here: https://doxygen.postgresql.org/pg__stat__statements_8c.html -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Most hackers will be perfectly comfortable conceptualizing users as entropy sources, so let's move on." (Nathaniel Smith) https://mail.gnu.org/archive/html/monotone-devel/2007-01/msg00080.html