Re: Odd config issue, cannot set log_min_duration_statement - Mailing list pgsql-admin

From S Bob
Subject Re: Odd config issue, cannot set log_min_duration_statement
Date
Msg-id aafc6974-65b7-2891-0966-88f5fd83a423@quadratum-braccas.com
Whole thread Raw
In response to Re: Odd config issue, cannot set log_min_duration_statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Odd config issue, cannot set log_min_duration_statement
List pgsql-admin


On 1/14/21 7:53 PM, Tom Lane wrote:
S Bob <sbob@quadratum-braccas.com> writes:
On 1/14/21 7:31 PM, Tom Lane wrote:
Hmm, that should have worked.  What do you see in
select * from pg_settings where name = 'log_min_duration_statement';
source          | user
IIRC, that means you've applied a setting via ALTER USER,
which'd override the default from the config file.
			regards, tom lane



Yup, that's the last thing I tried:

postgres=# ALTER SYSTEM SET log_min_duration_statement = 0;


and it added the entry in the postgresql.auto.conf file:

$ cat postgresql.auto.conf
# Do not edit this file manually!
# It will be overwritten by the ALTER SYSTEM command.
log_min_duration_statement = '0'



But... it's still -1, even after another restart


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Odd config issue, cannot set log_min_duration_statement
Next
From: Tom Lane
Date:
Subject: Re: Odd config issue, cannot set log_min_duration_statement