identify database process given client process - Mailing list pgsql-general

From hogcia
Subject identify database process given client process
Date
Msg-id 5aeaab6c-3676-482a-80c8-e908e76b84b7@e6g2000prf.googlegroups.com
Whole thread Raw
Responses Re: identify database process given client process  ("Joey K." <pguser@gmail.com>)
Re: identify database process given client process  ("Gurjeet Singh" <singh.gurjeet@gmail.com>)
List pgsql-general
Hi,
I have to find a Postgres database process pid (or other
identification) for a given client process pid. Or client processes
for a database process. How are they connected? I was suggested maybe
netstat could give me the answer and I think those are two pf_unix
processes. But maybe there are some PostgreSQL functions that do this?
How should I approach this topic?
Thanks in advance,
--
Agata Krawcewicz

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Catch-22
Next
From: postgre@seznam.cz
Date:
Subject: Re: [GENERAL] large object import