pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: S Bob <sbob@quadratum-braccas.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Odd config issue, cannot set log_min_duration_statement
Date: Thu, 14 Jan 2021 21:31:40 -0500
Message-ID: <1623237.1610677900@sss.pgh.pa.us> (raw)
In-Reply-To: <2a31bc9d-5c9b-b76e-083d-c4fb392f0834@quadratum-braccas.com>
References: <2a31bc9d-5c9b-b76e-083d-c4fb392f0834@quadratum-braccas.com>

S Bob <sbob@quadratum-braccas.com> writes:
> I set:
> log_min_duration_statement = 0
> and restarted the cluster but if I connect via psql and check it's still 
> disabled

If you just did "SET" then it'd only affect the current session.

> I tried an alter system, now if I cat the auto.conf file i see:
> $ cat postgresql.auto.conf
> # Do not edit this file manually!
> # It will be overwritten by the ALTER SYSTEM command.
> log_min_duration_statement = '0'

Hmm, that should have worked.  What do you see in

select * from pg_settings where name = 'log_min_duration_statement';

(the "source..." columns are important here)

			regards, tom lane





view thread (8+ messages)  latest in thread

Message-ID: <1623237.1610677900@sss.pgh.pa.us>
Permalink:  ../1623237.1610677900@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1623237.1610677900@sss.pgh.pa.us

 · 

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: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sbob@quadratum-braccas.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Odd config issue, cannot set log_min_duration_statement
  In-Reply-To: <1623237.1610677900@sss.pgh.pa.us>

* 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