From: | Andrew Martin <martin(at)biochemistry(dot)ucl(dot)ac(dot)uk> |
---|---|
To: | hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] PSQL man page patch |
Date: | 1998-01-12 14:58:03 |
Message-ID: | 199801121458.OAA03255@bsmir06.biochem.ucl.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> OK, we never installed this for 6.2 because we were already in Beta.
> Can we do this for 6.3? Vadim suggested we make this part of libpq, so
> all applications could make use of it.
>
> I have one of the original patches, but not the others. Martin, what do you
> think? Any other comments on this?
>
>
> >
> >
> > adding them to the documentation, I thought I'd better supply
> > a patch to the psql man page which documents the .psqlrc file :-)
> > (I forgot yesterday....)
> >
> >
> > Andrew
> >
> >
[DELETED patch to man page for psql.1 which documents suggested addition
of support for a /etc/psqlrc and/or $(HOME)/.psqlrc containing SQL code
to be run whenever psql is started]
Personally, I think this should just be a function of psql not libpq - it's
really there as a convenience to the person running psql to save typing a
few lines of SQL every time (like setting the date format). If you are
running PG/SQL via some other interface (such as Perl), then it is
trivial to write those few lines as part of your Perl script rather than
in a .psqlrc file.
I still have the patch file for the source as well as for the man page
Andrew
----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin(at)biochem(dot)ucl(dot)ac(dot)uk (Home) andrew(at)stagleys(dot)demon(dot)co(dot)uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Doerr | 1998-01-12 15:06:50 | (no subject) |
Previous Message | Thomas G. Lockhart | 1998-01-12 14:51:36 | varchar() troubles |