postgresql.config: log_min_duration_statement = -1
Client A:
SELECT set_config('log_min_duration_statement', '30000', false);
SELECT current_setting('log_min_duration_statement');
-----
30s
Client B:
SELECT current_setting('log_min_duration_statement');
-----
-1
The client B changes postgresql.config: log_min_duration_statement = 60000
select pg_reload_conf();
SELECT current_setting('log_min_duration_statement');
---
1 min
===
Ok, How the client A can reset his setting and use the current parameter value from the postgresql.config file without connection closing? I.e. the client A does
select pg_reload_conf();
but he still has a previously set 30s
reset log_min_duration_statement