today-i-learnt

Specify connection application name

Category postgresql
Added on 2019-10-10
Source source

You can specify application_name in posgres connection string:

postgresql://.../database?application_name=myapp

If other Query parameters are already present use & to concatenate them.