Re: su not working with psql - Mailing list pgsql-novice

From The PandaWare Company
Subject Re: su not working with psql
Date
Msg-id 9C05A5E3-D6CE-46EC-A457-BE0E171C79F5@pandaware.com
Whole thread Raw
In response to su not working with psql  (The PandaWare Company <lists@pandaware.com>)
List pgsql-novice
On Aug 18, 2009, at 1:35 PM, Michael Wood wrote:

> Do you by any chance have the PGUSER environment variable set to
> "david"?
>
> e.g.:
> imac:~ postgres$ echo $PGUSER
>
> or:
> imac:~ postgres$ env | grep david

Both commands return an empty string.

Does this mean that I need to set the PGUSER environment variable? If
so, how do I do that?

pgsql-novice by date:

Previous
From: Bob McConnell
Date:
Subject: Re: Platform for running Postgres 8.4
Next
From: Tom Lane
Date:
Subject: Re: su not working with psql