Re: Server name in psql prompt - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Server name in psql prompt
Date
Msg-id 20100108114659.GB14614@depesz.com
Whole thread Raw
In response to Server name in psql prompt  (Mark Morgan Lloyd <markMLl.pgsql-general@telemetry.co.uk>)
List pgsql-general
On Fri, Jan 08, 2010 at 11:20:36AM +0000, Mark Morgan Lloyd wrote:
> Is there any way of getting psql to display the name of the
> currently-connected server in its prompt, and perhaps a custom string
> identifying e.g. a disc set, without having to create a psqlrc file on
> every client system that's got a precompiled psql installed?

what exactly is the problem with distributing your own .psqlrc?

for me it's one of the first things that I do - I setup environment.

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

pgsql-general by date:

Previous
From: Konrad Garus
Date:
Subject: Re: Rows missing from table despite FK constraint
Next
From: Tom Lane
Date:
Subject: Re: Rows missing from table despite FK constraint