Is there a way to log all SQL queries in Postgres 9.3.9 for a single connection or user or client host?
In other words, I want log_statement = all but only for a certain username or client hostname or client ip or connection id.
One option is to log SQL activity for all clients and search the logs. I'm hoping there's a better way.
log_line_prefix.