Re: Using pgAdmin and pgAgent with Greenplum

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Using pgAdmin and pgAgent with Greenplum
Дата
Msg-id 4728CE1D.6040206@postgresql.org
обсуждение исходный текст
Ответ на Re: Using pgAdmin and pgAgent with Greenplum  ("Roberts, Jon" <Jon.Roberts@asurion.com>)
Список pgadmin-hackers
Roberts, Jon wrote:
>> Roberts, Jon wrote:
>>> There are three problems with having a custom connection string for each
>>> step.  1) If I need to update the connection like change the password, I
>>> have to do it for each step.  2) Developers will see the password in
>> clear
>>> text.
>> I consider those irrelevant because plastered all over the docs will be
>> something like "Don't use passwords here, put them in pgpass files
>> instead". Besides, #2 would be the case even if you defined the servers
>> in a separate table.
>>
>
> I was unaware of pgpass.  So you are saying I would create/edit the file to
> have hostname:port:database:username:password and then in the step, I would
> just reference the hostname?  If so, I completely agree with you and that
> would be awesome!

You need to specify any non-default values... but then you normally
should be doing that for the pgAgent daemon/service as well (unless you
use ident).

> I'm guessing I can use pgpass with dblink too?

Any libpq based application. It's also where pgAdmin stores passwords
you opt to save.

Regards, Dave

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

Предыдущее
От: "Roberts, Jon"
Дата:
Сообщение: Re: Using pgAdmin and pgAgent with Greenplum
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by hiroshi: r6805 - trunk/www/download