From: | Madison Kelly <linux(at)alteeve(dot)com> |
---|---|
To: | Scott Mead <scott(dot)lists(at)enterprisedb(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Adding the host name to the PgSQL shell |
Date: | 2009-06-08 17:41:13 |
Message-ID: | 4A2D4D39.60405@alteeve.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Scott Mead wrote:
>
> On Mon, Jun 8, 2009 at 1:30 PM, Madison Kelly <linux(at)alteeve(dot)com
> <mailto:linux(at)alteeve(dot)com>> wrote:
>
>
> That works like a charm, thank you!
>
>
> No problem :)
>
>
>
> Next question though;
>
> How can I get it to save my custom prompt across sessions/server
> restarts? It there something equivalent to '.bash_profile'?
>
>
> ~/.psqlrc
Thank you again!
For the record, in case someone finds this in an archive somewhere and
are a noob like me, you need to create this file in the home directory
of the shell user you call 'psql' from, *not* the user account used when
using the '-U user' switch. :)
Madi
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-06-08 17:46:11 | Re: Any way to bring up a PG instance with corrupted data in it? |
Previous Message | Richard Huxton | 2009-06-08 17:34:03 | Re: 'cost' and 'rows' for volitile function |