psql: Prompt change

Started by Þórhallur Hálfdánarsonabout 23 years ago3 messageshackers
Jump to latest

Hi

mydatabase=#

What about making this configurable, so that one could for examble change is prompt to:

me:mydatabase@myhost=#

Would a patch be accepted if I ever would get around to it? (I won't have time for the next few weeks, so if anyone else wants to do the implementation: feel free :)

Regards,
Tolli (still confused after issuing commands on the wrong dbhost)

--
Tolli
tolli@tol.li

#2Bruce Momjian
bruce@momjian.us
In reply to: Þórhallur Hálfdánarson (#1)
Re: psql: Prompt change

Uh, it is configurable. See psql manual page.

---------------------------------------------------------------------------

��rhallur H�lfd�narson wrote:

Hi

mydatabase=#

What about making this configurable, so that one could for examble change is prompt to:

me:mydatabase@myhost=#

Would a patch be accepted if I ever would get around to it? (I won't have time for the next few weeks, so if anyone else wants to do the implementation: feel free :)

Regards,
Tolli (still confused after issuing commands on the wrong dbhost)

--
Tolli
tolli@tol.li

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

-- 
  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
In reply to: Bruce Momjian (#2)
Re: psql: Prompt change

I must remember not to wake up this early again. I must have been reading the wrong manpage.

Thanks.... :)

-*- Bruce Momjian <pgman@candle.pha.pa.us> [ 2003-02-03 11:41 ]:

Uh, it is configurable. See psql manual page.

---------------------------------------------------------------------------

Þórhallur Hálfdánarson wrote:

Hi

mydatabase=#

What about making this configurable, so that one could for examble change is prompt to:

me:mydatabase@myhost=#

Would a patch be accepted if I ever would get around to it? (I won't have time for the next few weeks, so if anyone else wants to do the implementation: feel free :)

Regards,
Tolli (still confused after issuing commands on the wrong dbhost)

--
Tolli
tolli@tol.li

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

-- 
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

--
Kveðja,
Tolli
tolli@tol.li