Re: patch to add \watch to psql - Mailing list pgsql-hackers

From Dickson S. Guedes
Subject Re: patch to add \watch to psql
Date
Msg-id CAHHcreobBmiROVmS3pXM4AQEXdfLnjN09JU-+_RAO4QFOZB+=g@mail.gmail.com
Whole thread Raw
In response to Re: patch to add \watch to psql  (Will Leinweber <will@heroku.com>)
List pgsql-hackers
2013/4/3 Will Leinweber <will@heroku.com>:
> Here is an updated patch that addresses several of the points brought up so
> far, such as the sleep, internationalization banner, and zero wait check,
> and it removes the premature input check.
>
> Unfortunately rl_clear_screen() is not included at all in libedit, causing
> compilation to fail, and I was completely unable to find a way to
> distinguish libedit from readline on OS X. It tries extraordinarily hard to
> pretend that it's readline. Instead falling back to simple control
> characters to clear the screen worked very well on both linux and OS X.

I don't have access to an OSX box ATM but term_clear_screen(), in
libedit, didn't help?

-- 
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: spoonbill vs. -HEAD
Next
From: andres@anarazel.de (Andres Freund)
Date:
Subject: Re: corrupt pages detected by enabling checksums