Re: Persistent PROMPT with psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Salvatore De Paolis <iwkse(at)gmx(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Persistent PROMPT with psql
Date: 2010-06-14 02:05:07
Message-ID: 22321.1276481107@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Salvatore De Paolis <iwkse(at)gmx(dot)com> writes:
> there's a way to set persistently the PROMPT1 and/or PROMPT2 variables?
> I didn't find anything about this in man pages, i can change them once in
> psql, but the changes are lost once i quit.

You can set them in your ~/.psqlrc file.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Salvatore De Paolis 2010-06-14 02:11:11 Re: Persistent PROMPT with psql
Previous Message Salvatore De Paolis 2010-06-14 01:12:09 Persistent PROMPT with psql