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

From Maarten Boekhold
Subject Re: [HACKERS] Patch to psql.c to allow .psqlrc file
Date
Msg-id 75962273bb741c299e16985640891f4d
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.)

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.

Maarten

_____________________________________________________________________________
|     Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL    |
|                          M.Boekhold@et.tudelft.nl                         |
- -----------------------------------------------------------------------------

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

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] 6.1 jumbo patch?
Next
From: Frank Dana
Date:
Subject: Re: [HACKERS] Problem with copying abstimes