Re: su not working with psql

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: su not working with psql
Дата
Msg-id 4A8B2E0F.9060706@sympatico.ca
обсуждение исходный текст
Ответ на Re: su not working with psql  (The PandaWare Company <lists@pandaware.com>)
Ответы Re: su not working with psql  (The PandaWare Company <lists@pandaware.com>)
Список pgsql-novice
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.
>


locate does not include recently created files.

What is the output of:
    su - postgres
    whoami
    ls -l ~/.pgpass
    cat ~/.pgpass


В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: su not working with psql
Следующее
От: The PandaWare Company
Дата:
Сообщение: Re: su not working with psql