Olleg Samoylov <splarv@xxxxx> writes: > On 2018-04-27 10:55, Olivier Macchioni wrote: >> Does anyone have an idea on how to process in such a case? > Log statments too. :) Another idea is to get the app to set application_name differently for each session (and be sure to include %a in log_line_prefix). It might not be practical in this particular case, but it's a good tool to keep in mind. regards, tom lane