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
------------------------------