Sam Barnett-Cormack wrote: > Is there any way to change the prompt in the psql CLI client? In the > same way as one does with bash, or other shells. > > Ideally I want: > > [EMAIL PROTECTED]:database $ > > as the prompt. Anyone got any ideas/references?
Sure, see the psql manual page. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]