Re: [HACKERS] Patch to psql.c to allow .psqlrc file - Mailing list pgsql-hackers

From Andrew Martin
Subject Re: [HACKERS] Patch to psql.c to allow .psqlrc file
Date
Msg-id 123c11eec09db6b104f2c4506be593d4
Whole thread Raw
In response to [HACKERS] Patch to psql.c to allow .psqlrc file  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
List pgsql-hackers
> On Tue, 24 Jun 1997, Vadim B. Mikheev wrote:
>
> > Andrew Martin wrote:
> > >
> > >
> > > OK, here's a patch (to be applied after the previous one) which now checks
> > > 1. /etc/pgsqlrc
> > > 2. $(PGDATA)/pgsqlrc
> > > 3. $(HOME)/.pgsqlrc
> >
> > Ok - can you also change libpq to get it working with pgsqlrc
> > (a "global" one) on startup ?
> > (Useful if user want to have the same settings for all
> > applications.)
Hmmm. Personally I think it should be an application level thing not libpq.
In any case, I don't think we should be considering libpq patches for
6.1.1; these should be for 6.2

>
> And if you don't want your application to use a startup-file? There must
> be some switch to pgconnect that disables reading a startup-file IMO.

More to the point, should there be some such flag for psql??

>
> Maarten
>


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: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] problems with sunos4 port, endian?
Next
From: Andrew Martin
Date:
Subject: Re: [HACKERS] Array bug is still there....