Thread: permanently setting PROMPT1

permanently setting PROMPT1

From
Charles Hauser
Date:
All,

I'd like to permanently set PROMPT1 to appear as: test=>.

As currently configured it appears as: test=# 

within psql I can set it by:

test=#\set PROMPT1 %/%R>

test=>

but this does not persist to the next session.

regards,

Charles




Re: permanently setting PROMPT1

From
Peter Eisentraut
Date:
Charles Hauser writes:

> I'd like to permanently set PROMPT1 to appear as: test=>.

Put it in ~/.psqlrc.

-- 
Peter Eisentraut   peter_e@gmx.net