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

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

pgsql-novice by date

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

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