Re: Explicit psqlrc

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Explicit psqlrc
Дата
Msg-id AANLkTim8o=rZLcSz+DzAgBBFnAuxV3-MuE4Wn+5J7h7M@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Explicit psqlrc  (David Christensen <david@endpoint.com>)
Ответы Re: Explicit psqlrc  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Wed, Jul 21, 2010 at 11:06 PM, David Christensen <david@endpoint.com> wrote:
>
> On Jul 21, 2010, at 12:31 PM, Alvaro Herrera wrote:
>
>> Excerpts from Peter Eisentraut's message of mié jul 21 10:24:26 -0400 2010:
>>> On tis, 2010-07-20 at 11:48 -0400, Robert Haas wrote:
>>>> It's tempting to propose making .psqlrc apply only in interactive
>>>> mode, period.  But that would be an incompatibility with previous
>>>> releases, and I'm not sure it's the behavior we want, either.
>>>
>>> What is a use case for having .psqlrc be read in noninteractive use?
>>
>> Even if there weren't one, why does it get applied to -f but not -c?
>> They're both noninteractive.
>
>
> So not to let the thread drop, it appears that we're faced with the following situation:

Hmm.  I thought we almost had consensus on changing the historical
behavior of -c.  If we do that, this all gets much simpler.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: little mistakes in HS/SR
Следующее
От: Robert Haas
Дата:
Сообщение: Re: multibyte charater set in levenshtein function