How to use postgresql service file in pgadmin4
Try downloading the latest version of pgAdmin4, Many features are implemented now,

Specifically, the one you asked for https://redmine.postgresql.org/issues/3140