pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: m.litsarev@postgrespro.ru
To: pgsql-hackers@lists.postgresql.org
Subject: Redundant headers in pg_stat_statements
Date: Mon, 14 Sep 2026 14:14:11 +0300
Message-ID: <e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru> (raw)

Hi, hackers!

I accidentially found that some headers in pg_stat_statements are 
redundant.
A small patch with removed headers is attached.

Kind regards,
Postgres Professional: http://www.postgrespro.com

Attachments:

v1-0001-Remove-redundant-headers-in-pg_stat_statements.patch (text/x-diff, 1.1K) download From eb03b2d2af0fe7986c23eecd991e2f06fb5867ec Mon Sep 17 00:00:00 2001 From: Mikhail Litsarev <m.litsarev@postgrespro.ru> Date: Mon, 14 Sep 2026 13:55:40 +0300 Subject: [PATCH v1] Remove redundant headers in pg_stat_statements --- contrib/pg_stat_statements/pg_stat_statements.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/pg_stat_statements/pg_stat_statements.c b/contrib/pg_stat_statements/pg_stat_statements.c index 4562222c9fc..f85c0f9bb76 100644 --- a/contrib/pg_stat_statements/pg_stat_statements.c +++ b/contrib/pg_stat_statements/pg_stat_statements.c @@ -50,12 +50,9 @@ #include "access/htup_details.h" #include "access/parallel.h" #include "catalog/pg_authid.h" -#include "executor/instrument.h" #include "funcapi.h" #include "jit/jit.h" #include "mb/pg_wchar.h" -#include "miscadmin.h" -#include "nodes/queryjumble.h" #include "optimizer/planner.h" #include "parser/analyze.h" #include "pgstat.h" @@ -67,7 +64,6 @@ #include "tcop/utility.h" #include "utils/acl.h" #include "utils/builtins.h" -#include "utils/memutils.h" #include "utils/timestamp.h" #include "utils/tuplestore.h" -- 2.34.1

view thread (3+ messages)  latest in thread

Message-ID: <e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru>
Permalink:  ../e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru/
Also on:    postgresql.org/message-id/e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru

 ·  · 

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: m.litsarev@postgrespro.ru
  Subject: Re: Redundant headers in pg_stat_statements
  In-Reply-To: <e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru>
  References: <e6ab4f431cfbce5b8459bc5278935ee8@postgrespro.ru>

* 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