Hello,
i noticed that the user name as displayed in the postgresql log (specified by %u) in the log_line_prefix
does not show the user name of the effective user (current_user)as set by "SET SESSION AUTHORIZATION"
but, instead, shows the initial user which first authenticated against the said connection.
I think it would be better to have this user reported in the log files. (or have another entry e.g. %U to denote that)
--
Achilleas Mantzios