Function to get hostname - Mailing list pgsql-general

From Seth Williams
Subject Function to get hostname
Date
Msg-id 000801c42df2$fb759860$4100a8c0@seadog
Whole thread Raw
Responses Re: Function to get hostname  (David Mitchell <david.mitchell@telogis.com>)
List pgsql-general
Is there any way within an sql query to get the local server's hostname? I am trying to build up a string of 'user@hostname' where the user is defined in a column and the latter is concatenated on.
 
 

pgsql-general by date:

Previous
From: "Karl O. Pinc"
Date:
Subject: FYI, foxpro to postgresql conversion scripts
Next
From: Bruno Wolff III
Date:
Subject: Re: Variable in PostgreSQL 7.4.x