A client_ip() function?

From: Andrei Gaponenko <andrei_gaponenko(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: A client_ip() function?
Date: 2003-06-11 01:15:13
Message-ID: 20030611011513.85301.qmail@web41113.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is there a function which provides the IP address of
the client on the current connection?

When logging a modification to a database I can use
the "session_user" function to retrieve the username.
A natural thing would be to log the client's IP as
well.
Any suggestions? I am running 7.2.3.

Thanks,
Andrei

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

Browse pgsql-general by date

  From Date Subject
Next Message Forest Wilkinson 2003-06-11 02:08:20 Re: How to enumerate foreign key constraints after migrating from 7.1.3?
Previous Message Ron Snyder 2003-06-10 23:52:21 Re: error restoring large objects during pg_restore