Re: Prompts in psql

Поиск
Список
Период
Сортировка
От Renney Thomas
Тема Re: Prompts in psql
Дата
Msg-id 3F539518.8060202@yahoo.com
обсуждение исходный текст
Ответ на Prompts in psql  (Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>)
Ответы Re: Prompts in psql
Список pgsql-admin
Sam Barnett-Cormack wrote:

>Is there any way to change the prompt in the psql CLI client? In the
>same way as one does with bash, or other shells.
>
>Ideally I want:
>
>username@host:database $
>
>as the prompt. Anyone got any ideas/references?
>
>
>

Put
\set PROMPT1 '%n@%m:%~%R%# '
in your .psqlrc file.


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

Предыдущее
От: weigelt@metux.de
Дата:
Сообщение: Running postgresql on an memory stick
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_atoi: error in.....: can't parse..."