psql prompt

Started by Claudio Lapidusover 22 years ago3 messagesgeneral
Jump to latest
#1Claudio Lapidus
clapidus@hotmail.com

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.

#2Bruce Momjian
bruce@momjian.us
In reply to: Claudio Lapidus (#1)
Re: psql prompt

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
#3Dennis Bjorklund
db@zigo.dhs.org
In reply to: Claudio Lapidus (#1)
Re: psql prompt

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