Issue the below command :-
select * from pg_stat_activity
& check the results.
Reinhard Asmus wrote:
> I install a new database and want to check which connections will be
> used.
>
> How can i see which application from which host is connecting the
> database?
>
> Any help is appreciated.
>
>