Re: Custom prompt

Поиск
Список
Период
Сортировка
От craig@gtek.biz
Тема Re: Custom prompt
Дата
Msg-id 1348512170.898217808@webmail.gtek.biz
обсуждение исходный текст
Ответ на Re: Custom prompt  (David Salisbury <salisbury@globe.gov>)
Список pgsql-general
>
> Try along the lines of
>
> psql -h some.host.com   -U postgres -v "PROMPT1=*my_cool_prompt%/> " -d my_db
>

Works like a charm! Do I have a dot file  that I can save this setting to, similar to the .exrc for vi, or will I need
toenter it every time? If the latter, I'll alias it, but I'd rather be able to save it if possible. 

Thanks!


Sent - Gtek Web Mail




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

Предыдущее
От: David Salisbury
Дата:
Сообщение: Re: Custom prompt
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Custom prompt