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

From Andrew Martin
Subject [HACKERS] Useful addition for psql?
Date
Msg-id 2d19fd60026726f08ccbb66cf226d159
Whole thread Raw
List pgsql-hackers
With things like the date format now being set via the SET command
rather than as a compile-time option, I think it would be nice
for psql to read ~/.psqlrc (or some such thing) as a set of
commands (or SQL) to read whenever it is run. Thus you could
put
SET datestyle TO 'european,sql'
into this file to default to those setting whenever you run
psql.

Any thoughts before I start hacking?

Andrew
- ----------------------------------------------------------------------------
Dr. Andrew C.R. Martin                             University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk    (Home) andrew@stagleys.demon.co.uk
URL:   http://www.biochem.ucl.ac.uk/~martin
Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775

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

pgsql-hackers by date:

Previous
From: Ronald Baljeu
Date:
Subject: Re: [HACKERS] Problem with copying abstimes
Next
From: "Martin J. Laubach"
Date:
Subject: Re: [HACKERS] Useful addition for psql?