Re: [HACKERS] Useful addition for psql? - Mailing list pgsql-hackers

From Marc G. Fournier
Subject Re: [HACKERS] Useful addition for psql?
Date
Msg-id 40e3cd6743ff49347c55b30191461a7d
Whole thread Raw
In response to [HACKERS] Useful addition for psql?  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
List pgsql-hackers
On Fri, 20 Jun 1997, Martin J. Laubach wrote:

> > for psql to read ~/.psqlrc (or some such thing) as a set of
>
>   psql already takes some environment variables and sends them
> to the server. In fact, libpq does that. I think it is called
> PG_DATE or such? (Hmm, maybe I should have documented it somewhere :)

    IMHO, a .psqlrc file would be easier overall...should even have
some sort of 'global' one, maybe?  Or maybe use env variables for global
settings, to be overwritten by a psqlrc?

Marc G. Fournier                                 scrappy@hub.org
Systems Administrator @ hub.org              scrappy@freebsd.org

------------------------------

pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: [HACKERS] Useful addition for psql?
Next
From: Bruce Momjian
Date:
Subject: [HACKERS] 6.1 jumbo patch?