Re: Mapping usernames for local/loopback connections

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Eden <temp(at)janeden(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Mapping usernames for local/loopback connections
Date: 2011-01-02 16:46:33
Message-ID: 20476.1293986793@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jan Eden <temp(at)janeden(dot)org> writes:
> Still, is there any way to achieve a mapping of local system accounts to db accounts while using the "trust" authentication method?

Why would you need one? You can just log in as whatever user you want.
If you're trying to avoid including the username in connection
parameters, consider setting PGUSER=whatever in your environment.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Trupti Ghate 2011-01-03 11:53:14 Loading "posgres 9.0" libpq library on Linux version"Red Hat 3.4.6-3"
Previous Message Jan Eden 2011-01-02 14:34:25 Re: Mapping usernames for local/loopback connections