Re: [HACKERS] Patch to psql.c to allow .psqlrc file

Поиск
Список
Период
Сортировка
От Maarten Boekhold
Тема Re: [HACKERS] Patch to psql.c to allow .psqlrc file
Дата
Msg-id ee714bfa8a6642ee73ccdc69df105673
обсуждение исходный текст
Ответ на [HACKERS] Patch to psql.c to allow .psqlrc file  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
Список 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 по дате отправления: