Re: [HACKERS] PSQL man page patch

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] PSQL man page patch
Дата
Msg-id 34BF904E.66F3BDE1@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] PSQL man page patch  (Andrew Martin <martin@biochemistry.ucl.ac.uk>)
Ответы Re: [HACKERS] PSQL man page patch  (Peter T Mount <psqlhack@maidast.demon.co.uk>)
Список pgsql-hackers
Andrew Martin wrote:

> > 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.
> >
> >
>
> Any more comments about adding support for .psqlrc? The original
> proposal was that psql should read commands from /etc/psqlrc
> and then from $(HOME)/.psqlrc
>
> Nobody seems to have raised any objections. I vote for including this
> for 6.3

I'm in favor of it also, perhaps as a libpq function call which is used in
psql. That way, other apps or frontends can choose to use it or not.

Would much prefer leaving it out as a _mandatory_ part of connection
initialization, since there will be side-effects for embedded apps. Combined
with PGDATESTYLE and PGTZ there will be pretty good control over the frontend
environment.

                                         - Tom


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Brian Sanders
Дата:
Сообщение: testlibpq3 gives incorrect results
Следующее
От: Bruce Momjian
Дата:
Сообщение: subselects coding started