getting the name of currenlty connected host..

From: mallah(at)trade-india(dot)com
To: pgsql-sql(at)postgresql(dot)org
Subject: getting the name of currenlty connected host..
Date: 2001-12-21 10:42:41
Message-ID: 3C231221.CAD4F38A@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi folks,

Is there any way to get the information about the host that is executing
the sql.
like

tradein_clients=> select current_user;
current_user
--------------
tradein
(1 row)

returns the current user,

is there anything that would return the host information from which
the current user is connected?

regds.
Mallah.

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 2001-12-21 12:29:56 Re: NULL values or not?
Previous Message Archibald Zimonyi 2001-12-21 09:53:38 NULL values or not?