public inbox for [email protected]  
help / color / mirror / Atom feed
From: Lukas Fittl <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: pg_stat_statements does not require shared_preload_libraries to be modified
Date: Wed, 18 Mar 2026 15:10:34 -0700
Message-ID: <CAP53PkyZWm_gV6=jhbRsTzxT=SvWeRCG4ukLakL1GeSJ=h703Q@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Hi Juraj,

On Wed, Mar 18, 2026 at 5:08 AM PG Doc comments form
<[email protected]> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/18/pgstatstatements.html
> Description:
>
> Hi,
>
> This is inaccurate at
> https://www.postgresql.org/account/comments/new/18/pgstatstatements.html/
> the module just needs the contrib package;

Can you clarify why you think that's the case?

pg_stat_statements certainly does need to be included in
shared_preload_libraries, or it will emit an error noting its not
loaded: ERROR: pg_stat_statements must be loaded via
"shared_preload_libraries"

The only exception to that is if you're in an environment where the
provider has already included it in the default configuration, e.g. on
Amazon RDS - but that is not the case with the regular Postgres
packages to my knowledge.

Thanks,
Lukas

-- 
Lukas Fittl





view thread (2+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pg_stat_statements does not require shared_preload_libraries to be modified
  In-Reply-To: <CAP53PkyZWm_gV6=jhbRsTzxT=SvWeRCG4ukLakL1GeSJ=h703Q@mail.gmail.com>

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

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