Обсуждение: psql: Prompt change
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 elsewants to do the implementation: feel free :) Regards, Tolli (still confused after issuing commands on the wrong dbhost) -- Tolli tolli@tol.li
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 elsewants 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, Pennsylvania19073
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 elsewants 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