Re: Patch for psql History Display on MacOSX

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Patch for psql History Display on MacOSX
Дата
Msg-id 20140907050251.GE1066341@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Patch for psql History Display on MacOSX  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Patch for psql History Display on MacOSX  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, Sep 06, 2014 at 11:40:02PM -0400, Tom Lane wrote:
> I only tried this directly on Tiger, Snow Leopard, and Mavericks.  I
> tested libedit-28 by compiling from source on a RHEL machine, so it's
> possible that there's some difference between what I tested and what
> Apple's really shipping.  If anyone wants to try it on other platforms,
> feel free.

I ran libedit-history-fixes-v3.patch through my previous libedit-28 test.
Now, patched psql writes ^A for newlines in any command.  Here's the new
matrix of behaviors when recalling history:
 master using master-written history:   oldest command: ok   rest: ok v3-patched using master-written history:   oldest
command:ok   rest: ok master using v3-patched-written history   oldest command: ok   rest: each broken if it contained
anewline v3-patched using v3-patched-written history   oldest command: ok   rest: ok
 

That's probably the same result you saw.  How does it compare to the
compatibility effects for other libedit versions you tested?

> [ wanders away wondering how it is that libedit has any following
> whatsoever ... ]

Quite so.

Thanks,
nm



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: B-Tree support function number 3 (strxfrm() optimization)
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: ALTER TABLESPACE MOVE command tag tweak