psql: Prompt change

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

psql: Prompt change

От:
Þórhallur Hálfdánarson <tolli@tol.li>
Дата:
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

Re: psql: Prompt change

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

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

Re: psql: Prompt change

От:
Þórhallur Hálfdánarson <tolli@tol.li>
Дата:
I must remember not to wake up this early again.  I must have been reading the wrong manpage.

Thanks.... :)

-*- Bruce Momjian  [ 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

FAQ