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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group