Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group