alternate psql file locations

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: alternate psql file locations
Date: 2011-12-31 15:52:02
Message-ID: 4EFF2FA2.6060404@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It's not a big thing, but I just found myself in a shared environment
wanting to be able to set alternative locations for the psql startup
file and history. I know there's the HISTFILE variable, but I can't
easily set that automatically unless I can at least have my own .psqlrc.
ISTM it should be a fairly simple thing to provide these, via
environment variables. Is there general interest in such a thing?

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-12-31 18:39:12 Re: spinlocks on powerpc
Previous Message Simon Riggs 2011-12-31 13:34:03 pgsql: Send new protocol keepalive messages to standby servers.