pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: m.litsarev@postgrespro.ru
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Redundant headers in pg_stat_statements
Date: Mon, 14 Sep 2026 14:24:22 +0200
Message-ID: <aqfmptAg5MNTPD5F@alvherre.pgsql> (raw)
In-Reply-To: <e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru>

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






view thread (3+ messages)

Message-ID: <aqfmptAg5MNTPD5F@alvherre.pgsql>
Permalink:  ../aqfmptAg5MNTPD5F@alvherre.pgsql/
Also on:    postgresql.org/message-id/aqfmptAg5MNTPD5F@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@kurilemu.de, m.litsarev@postgrespro.ru
  Subject: Re: Redundant headers in pg_stat_statements
  In-Reply-To: <aqfmptAg5MNTPD5F@alvherre.pgsql>
  References: <e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru> <aqfmptAg5MNTPD5F@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox