Persistent PROMPT with psql

Поиск
Список
Период
Сортировка
Искать

Persistent PROMPT with psql

От:
Salvatore De Paolis <iwkse@gmx.com>
Дата:
Hi,

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.

regards
S.

Re: Persistent PROMPT with psql

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Salvatore De Paolis  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

Re: Persistent PROMPT with psql

От:
Salvatore De Paolis <iwkse@gmx.com>
Дата:
On Sun, 13 Jun 2010 22:05:07 -0400
Tom Lane  wrote:


> 
> You can set them in your ~/.psqlrc file.
> 
> 			regards, tom lane
> 

It was easy, thanks :)

regards
S.
FAQ