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

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection
Дата
Msg-id
20170920165018.x2sx5xlhxdzvndep@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
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 Alvaro Herrera <alvherre@alvh.no-ip.org>
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 Alvaro Herrera <alvherre@alvh.no-ip.org>
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 Albe Laurenz <laurenz.albe@wien.gv.at>
Re: [NOVICE] Re: using LDAP for connection information lookup to doremote database connection Garry Chen <gc92@cornell.edu>
Garry Chen wrote:
> Hmm the PGUSER is not working:
> 
> (GC92@gmc013:/users/gc92)
> > PGUSER=dmtools

Well, you need to "export" it (examples assume Bourne shell, but maybe
yours is tcsh or something different, so YMMV).  Either

PGUSER=dmtools
export PGUSER
psql "service=.."

or

export PGUSER=dmtools
psql "service=..."

or

PGUSER=dmtools psql "service="..."

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
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
Дата:
От: Garry Chen
Дата:
FAQ