Re: about EDITOR_LINENUMBER_SWITCH

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: about EDITOR_LINENUMBER_SWITCH
Дата
Msg-id 1318604736-sup-243@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: about EDITOR_LINENUMBER_SWITCH  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: about EDITOR_LINENUMBER_SWITCH
Список pgsql-hackers
Excerpts from Robert Haas's message of vie oct 14 09:36:47 -0300 2011:
> 
> On Thu, Oct 13, 2011 at 11:31 AM, Bruce Momjian <bruce@momjian.us> wrote:
> > Alvaro Herrera wrote:

> >> Oh, true, we have that, though it's not very usable because you have to
> >> rename the file from .psqlrc-9.0.3 to .psqlrc-9.0.4 when you upgrade,
> >> which is kinda silly.
> >
> > True.  We don't add configuration changes in minor versions so having
> > minor-version granularity makes no sense.
> >
> > The attached patch changes this to use the _major_ version number for
> > psql rc files.  Does this have to be backward-compatible?  Should I
> > check for minor and major matches?  That is going to be confusing to
> > document.
> 
> Checking for a minor match and then a major match seems sensible.

And backwards compatible too!  +1 to that.  An idea that you can
describe in six words doesn't seem all that confusing.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: about EDITOR_LINENUMBER_SWITCH
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: patch for new feature: Buffer Cache Hibernation