identify database process given client process

From: hogcia <hogcia(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: identify database process given client process
Date: 2008-03-17 14:58:25
Message-ID: 5aeaab6c-3676-482a-80c8-e908e76b84b7@e6g2000prf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gauthier, Dave 2008-03-17 14:58:44 Catch-22
Previous Message Tom Lane 2008-03-17 14:55:30 Re: shared memory/max_locks_per_transaction error