Re: Prompts in psql

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Prompts in psql
Дата
Msg-id 200309011653.h81Gr8A16655@candle.pha.pa.us
обсуждение исходный текст
Ответ на Prompts in psql  (Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>)
Список 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?

Sure, see the psql manual page.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Sam Barnett-Cormack
Дата:
Сообщение: Prompts in psql
Следующее
От: weigelt@metux.de
Дата:
Сообщение: Running postgresql on an memory stick