FW: PID of user connection???

Started by Carlos Olivaalmost 23 years ago1 messagesgeneral
Jump to latest
#1Carlos Oliva
carlos@pbsinet.com

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@wireboard.com] On Behalf Of Doug
McNaught
Sent: Tuesday, May 27, 2003 3:22 PM
To: Carlos
Cc: 'pgsql-general@postgresql.org'
Subject: Re: [GENERAL] PID of user connection???

Carlos <Carlos@pbsinet.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