Re: Custom prompt

From: craig(at)gtek(dot)biz
To: "David Salisbury" <salisbury(at)globe(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Custom prompt
Date: 2012-09-24 18:42:50
Message-ID: 1348512170.898217808@webmail.gtek.biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>
> Try along the lines of
>
> psql -h some.host.com -U postgres -v "PROMPT1=*my_cool_prompt%/> " -d my_db
>

Works like a charm! Do I have a dot file that I can save this setting to, similar to the .exrc for vi, or will I need to enter it every time? If the latter, I'll alias it, but I'd rather be able to save it if possible.

Thanks!

Sent - Gtek Web Mail

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2012-09-24 18:53:42 Re: Custom prompt
Previous Message David Salisbury 2012-09-24 18:31:04 Re: Custom prompt