Re: su not working with psql

From: The PandaWare Company <lists(at)pandaware(dot)com>
To: Michael Wood <esiotrot(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: su not working with psql
Date: 2009-08-18 20:43:55
Message-ID: 9C05A5E3-D6CE-46EC-A457-BE0E171C79F5@pandaware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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?

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2009-08-18 20:56:18 Re: su not working with psql
Previous Message Bob McConnell 2009-08-18 20:40:53 Re: Platform for running Postgres 8.4