Prompts in psql - Mailing list pgsql-admin

From Sam Barnett-Cormack
Subject Prompts in psql
Date
Msg-id Pine.LNX.4.50.0309011430190.12002-100000@short.lancs.ac.uk
Whole thread Raw
Responses Re: Prompts in psql
Re: Prompts in psql
Re: Prompts in psql
List pgsql-admin
Is there any way to change the prompt in the psql CLI client? In the
same way as one does with bash, or other shells.

Ideally I want:

username@host:database $

as the prompt. Anyone got any ideas/references?

--

Sam Barnett-Cormack
Software Developer                           |  Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk)  |  Lancaster University

pgsql-admin by date:

Previous
From: "stessy"
Date:
Subject: pg_atoi: error in.....: can't parse..."
Next
From: Bruce Momjian
Date:
Subject: Re: Prompts in psql