Hello Keith, sorry, it was my mistake. is not the application_name of the whole postgresql server that changes, just the application_name of the requested connection. after putting a breakpoint just after "setClientInfo", i could see running the query " "select pid, application_name from pg_stat_activity" that the application_name of the connection was right. Sorry again!