RE: [GENERAL] using password protection in pgtcl

Поиск
Список
Период
Сортировка
От postgres@taifun.interface.business.de
Тема RE: [GENERAL] using password protection in pgtcl
Дата
Msg-id XFMail.000103094019.postgres@taifun.interface.business.de
обсуждение исходный текст
Ответ на using password protection in pgtcl  (Vegeta <vegeta@cuaima.ica.luz.ve>)
Список pgsql-general
Hi Vegeta,

> I want to use the pg_connect function of pgtcl on a database that requires
> password authentication.  Is there an option of pg_connect that allows
> passing a username and password to make the connection?

Try: pg_connect -conninfo "user=$user password=$password"

Gerald

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

Предыдущее
От: Marten Feldtmann
Дата:
Сообщение: Re: [GENERAL] Future of PostgreSQL
Следующее
От: "Culberson, Philip"
Дата:
Сообщение: RE: [GENERAL] How 2 shutoff verbose logging...