current host and dbname info - Mailing list pgsql-sql

From Joe Conway
Subject current host and dbname info
Date
Msg-id 024c01c088ec$d200a190$0705a8c0@jecw2k1
Whole thread Raw
In response to Re: single byte unsigned integer datatype  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-sql
Hi,

I've been searching the docs and been unable to find the answer to this --
is there a way to get the current database server host tcpip address,
postmaster port, and database name from a SQL query?

I'd like to access those from within a plpgsql function without having to
create and populate some sort of identification table.

Thanks,

Joe




pgsql-sql by date:

Previous
From: John Reid
Date:
Subject: Re: abstract data types?
Next
From: Christopher Sawtell
Date:
Subject: Re: Re: Problem with Dates