How to use unix login user names in Emacs lisp/config?
<p>I was wondering if it is possible to use the current login user name in Emacs config files (in elisp)?</p>

<p>For example, some times the username and default database for a PostgreSQL database are the same as the current login Unix/Linux user name in many multi-user environment. When configuring a Emacs SQL mode and supplying user and database to connect to, something as the following can be used in the Emacs config. </p>

<pre><code>(setq sql-postgres-login-params
      '((user :default "postgres")
        (database :default "postgres")
        (server :default "localhost")
        (port :default 5432)))
</code></pre>

<p>How can I replace the <code>username</code> and <code>database</code> from <code>"postgres"</code> to the value of <code>$(whoami)</code> in Linux/Unix? </p>