X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EA373529F2 for ; Fri, 29 Jul 2005 10:48:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44807-03 for ; Fri, 29 Jul 2005 13:48:57 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by svr1.postgresql.org (Postfix) with ESMTP id 20019529F1 for ; Fri, 29 Jul 2005 10:48:55 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 8so523422nzo for ; Fri, 29 Jul 2005 06:48:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rZJXwKFzViP0u1RF4di7HmscTQ0ZN0YWWJ/H1eAew6COvIPiDzyE5GTXNjF+ITm5+5zCEMH1b499JbnB35ZDAkND7Kdal7iA3Qo67t/cFTHJB5iyy+r1ksyb1wNWcXpmjp7TETkQHXnJSosMgGd2OBCehMPJF+ZMRR99FXzn6Dc= Received: by 10.36.25.4 with SMTP id 4mr3074724nzy; Fri, 29 Jul 2005 06:48:30 -0700 (PDT) Received: by 10.36.25.13 with HTTP; Fri, 29 Jul 2005 06:48:28 -0700 (PDT) Message-ID: <1d219a6f05072906482b1d37c4@mail.gmail.com> Date: Fri, 29 Jul 2005 09:48:28 -0400 From: Chris Hoover Reply-To: Chris Hoover To: pgsql-admin@postgresql.org Subject: Is there anyway to retrieve server name and/or ip from query Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200507/242 X-Sequence-Number: 18298 Subject pretty much says it all. Is there a way in a sql query to have it return the server name and/or the server ip address of the PostgreSQL server? thanks, Chris