Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B7221CC43@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection  (Garry Chen <gc92@cornell.edu>)
Ответы Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection  (Garry Chen <gc92@cornell.edu>)
Список pgsql-novice
Garry Chen wrote:
> Is there a way to give a username and passwd at the connection time? Another word,
> not to set the username in gp_server.conf file.  Because psql just used my OS login id as
> username When I remove the username from pg_server.conf file.

Sure. Try something like:

$ psql "service=mydatabase user=mydbuser password=topsecret"

Yours,
Laurenz Albe

--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice

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

Предыдущее
От: Garry Chen
Дата:
Сообщение: Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection
Следующее
От: Garry Chen
Дата:
Сообщение: Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection