Re: [HACKERS] Should libedit be preferred to libreadline?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Should libedit be preferred to libreadline?
Дата
Msg-id 3787.1133544518@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Should libedit be preferred to libreadline?  (Chris Browne <cbbrowne@acm.org>)
Ответы Re: [HACKERS] Should libedit be preferred to libreadline?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Chris Browne <cbbrowne@acm.org> writes:
> To my mind, giving BIG weight to the opinions of the relatively small
> set of individuals that manage PostgreSQL packages for the popular
> distributions of Linux and *BSD seems fairly appropriate.

The packagers are bright enough to adapt to whatever we do --- it's
the people who build their own from source that I'm worried about.
--with-readline has worked fine for libedit users for a long time,
and suddenly changing its semantics strikes me as a bad idea.

The other problem with the "let's be deterministic" argument is that
it rests on a fallacy, which is that configure can reliably tell the
difference between libreadline and libedit.  Darwin, for example, goes
to some lengths to confuse matters.

(I think I'd actually be for the determinism point of view if it could
provide an #ifdef flag saying which library is in use --- then we could
fix the write_history return value problem we're seeing on Darwin ---
but I don't think we can do it short of a behavioral probe during
configure.)

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Case Conversion Fix for MB Chars
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Numeric 508 datatype