Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: psqlrc.patch
Description: application/octet-stream (784 bytes)

Responses

pgsql-hackers by date

Next:From: Joshua TolleyDate: 2010-03-04 22:09:53
Subject: Re: machine-readable pg_controldata?
Previous:From: Magnus HaganderDate: 2010-03-04 21:54:15
Subject: Re: machine-readable pg_controldata?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group