Thread: PID of user connection???

PID of user connection???

From
Carlos
Date:

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.

Thanks in advance for your response

Re: PID of user connection???

From
Doug McNaught
Date:
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