| От | Madison Kelly |
|---|---|
| Тема | Re: Adding the host name to the PgSQL shell |
| Дата | |
| Msg-id | 4A2D4D39.60405@alteeve.com обсуждение исходный текст |
| Ответ на | Re: Adding the host name to the PgSQL shell (Scott Mead <scott.lists@enterprisedb.com>) |
| Список | pgsql-general |
Scott Mead wrote: > > On Mon, Jun 8, 2009 at 1:30 PM, Madison Kelly <linux@alteeve.com > <mailto:linux@alteeve.com>> wrote: > > > That works like a charm, thank you! > > > No problem :) > > > > Next question though; > > How can I get it to save my custom prompt across sessions/server > restarts? It there something equivalent to '.bash_profile'? > > > ~/.psqlrc Thank you again! For the record, in case someone finds this in an archive somewhere and are a noob like me, you need to create this file in the home directory of the shell user you call 'psql' from, *not* the user account used when using the '-U user' switch. :) Madi
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера