From: Niklas Johansson <niklas@codecraft.se>
To: John Dizaro <jedsoftware@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: I, nead to capture the IP number from the PC how is running the script ...
Date: Mon, 15 Mar 2010 20:41:35 +0100
Message-ID: <3B3D9C6D-46DC-4025-9413-CA243CBF4512@codecraft.se> (raw)
In-Reply-To: <11c2d5211003151218y4ce9218du20034785a8103c39@mail.gmail.com>
References: <11c2d5211003151218y4ce9218du20034785a8103c39@mail.gmail.com>
On 15 mar 2010, at 20.18, John Dizaro wrote:
> I, nead to capture the IP number from the PC how is running the script
Check the documentation for System Information Functions:
http://www.postgresql.org/docs/8.4/interactive/functions-info.html
The function inet_client_addr() will return the address of the remote
connection.
Sincerely,
Niklas Johansson
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: niklas@codecraft.se, jedsoftware@gmail.com
Subject: Re: I, nead to capture the IP number from the PC how is running the script ...
In-Reply-To: <3B3D9C6D-46DC-4025-9413-CA243CBF4512@codecraft.se>
* 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