A client_ip() function? - Mailing list pgsql-general

From Andrei Gaponenko
Subject A client_ip() function?
Date
Msg-id 20030611011513.85301.qmail@web41113.mail.yahoo.com
Whole thread Raw
List 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

pgsql-general by date:

Previous
From: Alex Zavalin
Date:
Subject: SSL client
Next
From: Toby Tremayne
Date:
Subject: bad unicode characters