FW: PID of user connection???

From: "Carlos Oliva" <carlos(at)pbsinet(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: FW: PID of user connection???
Date: 2003-05-27 20:32:56
Message-ID: E148BE531B8AD311922E005004D3EEA1010F1D5D@xchserver.pbsinet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Doug,
The PID of the back-end process. I am building a module in my
application so that an administrator of the application can terminate or
halt the connections to the database.

-----Original Message-----
From: Doug McNaught [mailto:doug(at)wireboard(dot)com] On Behalf Of Doug
McNaught
Sent: Tuesday, May 27, 2003 3:22 PM
To: Carlos
Cc: 'pgsql-general(at)postgresql(dot)org'
Subject: Re: [GENERAL] PID of user connection???

Carlos <Carlos(at)pbsinet(dot)com> writes:

> Hello Forum,
>
> Is there a way to get the PID of a user connected to the database via
> JDBC? My java application connects the users via JDBC to PostgreSQL
> 7.3.2 in Linux RedHat.

Do you mean the PID of the backend process for that connection, or the
client PID? What if the client is on a different machine?

What are you trying to do here?

-Doug

Browse pgsql-general by date

  From Date Subject
Next Message dan radom 2003-05-27 20:35:27 Re: Postgresql on SUN Server
Previous Message Bob Powell 2003-05-27 20:24:37 Deleting duplicate records