I am in need of logging all the SQL queries accessed by a particular user for single database. I had tried below
ALTER ROLE test_user SET log_statement TO \'a