OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Concatenating a domain to a map result

From: Wietse Venema (wietseporcupine.org)
Date: Mon Aug 04 2008 - 14:53:20 CDT


Jay Chandler:
> I'm attempting to map local_recipient_maps via a Pgsql query.
>
> The database contains the username portion of usernameexample.com.
>
> Is there a way to append example.com to the result of the lookup query?

$ man pgsql_table
...
   result_format (default: %s)
          Format template applied to result attributes. Most commonly used
          to append (or prepend) text to the result.

This is a page full of text so I am not quoting it here.

        Wietse