pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: pgsql-sql@postgresql.org
Subject: getting the name of currenlty connected host..
Date: Fri, 21 Dec 2001 16:12:41 +0530
Message-ID: <3C231221.CAD4F38A@trade-india.com> (raw)

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.




Message-ID: <3C231221.CAD4F38A@trade-india.com>
Permalink:  ../3C231221.CAD4F38A@trade-india.com/
Also on:    postgresql.org/message-id/3C231221.CAD4F38A@trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mallah@trade-india.com
  Subject: Re: getting the name of currenlty connected host..
  In-Reply-To: <3C231221.CAD4F38A@trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox