0

I tried to enable full debug mode using this Tutorial

But in PostgreSQL 15.2 configuration file location is changed. Do you know how I can enable full debug mode?

Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
  • 1
    Does this answer your question? [Postgres find configuration files in linux](https://stackoverflow.com/questions/47790659/postgres-find-configuration-files-in-linux), [Where does PostgreSQL store configuration/conf files?](https://stackoverflow.com/questions/3602450/where-does-postgresql-store-configuration-conf-files) – Bergi Mar 31 '23 at 11:24

1 Answers1

2

Use the ALTER SYSTEM statements:

ALTER SYSTEM SET log_statement = 'all';

Depending on what you change, you have to use pg_reload_conf() to just reload the configuration or you must stop&start the database cluster.

Frank Heikens
  • 117,544
  • 24
  • 142
  • 135