Thread: psql prompt

psql prompt

From
"Claudio Lapidus"
Date:
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

From
Bruce Momjian
Date:
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

From
Dennis Bjorklund
Date:
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