Re: about EDITOR_LINENUMBER_SWITCH

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: about EDITOR_LINENUMBER_SWITCH
Дата
Msg-id 201110151358.p9FDwXe27641@momjian.us
обсуждение исходный текст
Ответ на Re: about EDITOR_LINENUMBER_SWITCH  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:
> On tor, 2011-10-13 at 11:31 -0400, Bruce Momjian wrote:
> > 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.
> 
> Contrary to what the subject suggests, I think the main reason people
> wanted this feature was to be able to set the linestyle to unicode
> without getting a warning from older releases about unknown linestyle or
> something.  But in a few years, they'll have to
> maintain .psqlrc-9.2, .psqlrc-9.3, .psqlrc-9.4, etc.  That doesn't sound
> like a useful long-term solution either.

Well, frankly, I think the fact we were matching on minor version number
was even worse.  This is slightly better.  I guess they could use
symlinks to keep a config file for multiple versions, but I agree it
isn't a long-term great solution.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: about EDITOR_LINENUMBER_SWITCH
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: about EDITOR_LINENUMBER_SWITCH