VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

Add application_name to metacatalog sessions #91

Closed mmaelicke closed 3 years ago

mmaelicke commented 4 years ago

Especially for development and maintenance, it would be helpful to mark connections to postgres visible in the pg_stat_activity catalog by an application_name that identifies the connection as one opened by metacatalog.

Implementation hints can be found here: https://stackoverflow.com/questions/15685861/setting-application-name-on-postgres-sqlalchemy

mmaelicke commented 3 years ago

Locally, this is working fine.