Re: Persistent PROMPT with psql - Mailing list pgsql-novice

From Tom Lane
Subject Re: Persistent PROMPT with psql
Date
Msg-id 22321.1276481107@sss.pgh.pa.us
Whole thread Raw
In response to Persistent PROMPT with psql  (Salvatore De Paolis <iwkse@gmx.com>)
Responses Re: Persistent PROMPT with psql  (Salvatore De Paolis <iwkse@gmx.com>)
List pgsql-novice
Salvatore De Paolis <iwkse@gmx.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

pgsql-novice by date:

Previous
From: Salvatore De Paolis
Date:
Subject: Persistent PROMPT with psql
Next
From: Salvatore De Paolis
Date:
Subject: Re: Persistent PROMPT with psql