Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group