Re: Postgres User Home ENV Help
| От | amulsul |
|---|---|
| Тема | Re: Postgres User Home ENV Help |
| Дата | |
| Msg-id | 1374058467586-5764052.post@n5.nabble.com обсуждение |
| Ответ на | Postgres User Home ENV Help ("carlosinfl ." <carlos.mennens@gmail.com>) |
| Список | pgsql-novice |
>Can someone please help me set the 'postgres' users home ENV so that I >can simply type 'psql' rather than the rull path and bash doesn't say >'-bash-4.1$'? You, need to log in your system, do the following steps 1. open file .bash_profile as " vim ~/.bash_profile " 2. Add line " PATH=<path of your postgres bin>:$PATH " without quotation before "export PATH " in my case "PATH=/opt/PostgreSQL/bin:$PATH" 3. save file and run command in terminal " source ~/.bash_profile " 4. verify it exported correctly or not as follow [amul@localhost ~]$ which psql /opt/PostgreSQL/bin/psql Regards, Amul -- View this message in context: http://postgresql.1045698.n5.nabble.com/Postgres-User-Home-ENV-Help-tp5760206p5764052.html Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
В списке pgsql-novice по дате отправления: