Re: su not working with psql

From: The PandaWare Company <lists(at)pandaware(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: su not working with psql
Date: 2009-08-18 22:20:00
Message-ID: 196B5D84-2EE6-46F2-A155-001606445404@pandaware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Aug 18, 2009, at 3:17 PM, The PandaWare Company wrote:

> On Aug 18, 2009, at 2:57 PM, Tom Lane wrote:
>
>> I just thought of another theory, though --- maybe you have a
>> ~/.pgpass
>> file that's selecting userid david? Unless "su" is behaving
>> differently
>> than it seems to here, that would be in postgres' home directory not
>> david's, but you might have copied david's file ...
>
> Using the "locate" command in Terminal, the only one I see is in
> david's home directory. It has an entry for a remote server, in
> connection with a project I worked on briefly some months ago.

Correction:

I forgot to mention that the listing for the old project does not even
have "david" in its content.

And, there is also a listing for a connection to localhost, but it too
lacks any mention of "david".

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2009-08-18 22:24:31 Re: su not working with psql
Previous Message The PandaWare Company 2009-08-18 22:17:16 Re: su not working with psql