On Wed, Aug 18, 2021 at 09:34:08PM +0530, Jayadevan M wrote: > Hello all, > > A doubt on the settingĀ 'log_statement'. Is it possible to set this at > database > /user level?
Sure, ALTER USER/DATABASE ... SET. > I get 'all' when I try > select * from pg_settings where name = 'log_statement' > Does this mean all statements by any user on any database in that server are > getting logged? This is for auditing purposes. Yes. -- Bruce Momjian <br...@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.