Function to get hostname

From: "Seth Williams" <swilliams(at)highstreetnetworks(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Function to get hostname
Date: 2004-04-29 14:05:08
Message-ID: 000801c42df2$fb759860$4100a8c0@seadog
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hostname' where the user is defined in a column and the latter is concatenated on.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2004-04-29 14:07:09 Re: Performance problem with correlated sub-query
Previous Message Mike Mascari 2004-04-29 14:00:31 Re: Performance problem with correlated sub-query