Re: patch to add \watch to psql

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: patch to add \watch to psql
Дата
Msg-id 50FCAE0A.9080807@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: patch to add \watch to psql  ("Dickson S. Guedes" <listas@guedesoft.net>)
Список pgsql-hackers
On 01/21/2013 02:11 AM, Dickson S. Guedes wrote:
> 2013/1/17 Daniel Farina <daniel@heroku.com>:
>> I realized while making my adjustments that I pointlessly grew some input
>> checking in the inner loop.  I just hoisted it out in this version.
> Since psql uses libreadline, what do you think about to call
> rl_clear_screen() inside that "while (true)" loop? Obviously we should
> test #if we have readline enabled to use it, but when we have it a
> nice output will bring to us.
>
> BTW, I don't know how this will behaves on OSX or Windows.
OSX uses libedit, which is readline-compatible modulo some bugs.

Windows doesn't have line-editing (sadly) so it won't do anything at all.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: logical changeset generation v4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: proposal: fix corner use case of variadic fuctions usage