Обсуждение: psql prompt

Поиск
Список
Период
Сортировка

psql prompt

От
"Claudio Lapidus"
Дата:
Hello

The command prompt for psql defaults to the database name, but is there a
way to change it to some other string/value?

TIA,
cl.

Re: psql prompt

От
Bruce Momjian
Дата:
Claudio Lapidus wrote:
> Hello
>
> The command prompt for psql defaults to the database name, but is there a
> way to change it to some other string/value?

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

Re: psql prompt

От
Dennis Bjorklund
Дата:
On Tue, 12 Aug 2003, Claudio Lapidus wrote:

> The command prompt for psql defaults to the database name, but is there a
> way to change it to some other string/value?

http://www.postgresql.org/docs/7.3/static/app-psql.html#APP-PSQL-PROMPTING

--
/Dennis