Re: psql: Prompt change

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Þórhallur Hálfdánarson <tolli(at)tol(dot)li>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql: Prompt change
Date: 2003-02-03 11:42:01
Message-ID: 200302031142.h13Bg1M25661@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Uh, it is configurable. See psql manual page.

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

rhallur Hlfdnarson wrote:
> Hi
>
> mydatabase=#
>
> What about making this configurable, so that one could for examble change is prompt to:
>
> me:mydatabase(at)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(at)tol(dot)li
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Þórhallur Hálfdánarson 2003-02-03 11:50:27 Re: psql: Prompt change
Previous Message Bruce Momjian 2003-02-03 11:39:46 Re: Interactive Documentation - how do you want it towork?