Re: [PATCHES] psql 'none' as a HISTFILE special case

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] psql 'none' as a HISTFILE special case
Дата
Msg-id 23697.1156179110@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [PATCHES] psql 'none' as a HISTFILE special case  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> On Mon, 2006-08-21 at 19:27 +0300, Martin Atukunda wrote:
>> If readline is used by psql, a history file is automatically used.
>> This patch adds the special file name 'none', which if set as the
>> HISTFILE parameter, will cause psql not to use the history file.

> I think it would be cleaner to use a separate \set variable to control
> whether a history file is written, rather than needlessly overloading
> the meaning of HISTFILE.

Why is this useful at all?  There's already the -n (don't use readline)
switch.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] [PATCH] Provide 8-byte transaction IDs to
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Replication