Explicit psqlrc

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Explicit psqlrc
Date: 2010-03-04 22:00:24
Message-ID: 9837222c1003041400g3a3ab1a2h5aaf04106490244c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've now for the second time found myself wanting to specify an
explicit psqlrc file instead of just parsing ~/.psqlrc, so attached is
a patch that accepts the PSQLRC environment variable to control which
psqlrc file is used.

Any objections to this (obviously including documentation - this is
just the trivial code)

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

Attachment Content-Type Size
psqlrc.patch application/octet-stream 784 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Tolley 2010-03-04 22:09:53 Re: machine-readable pg_controldata?
Previous Message Magnus Hagander 2010-03-04 21:54:15 Re: machine-readable pg_controldata?