Re: patch to add \watch to psql

Will Leinweber <will@heroku.com>

From: Will Leinweber <will@heroku.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>, Daniel Farina <daniel@heroku.com>, Pg Hackers <pgsql-hackers@postgresql.org>, Abhijit Menon-Sen <ams@2ndquadrant.com>
Date: 2013-04-05T00:27:05Z
Lists: pgsql-hackers
On Thu, Apr 4, 2013 at 5:04 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

>
> I whacked this around some more, added basic docs, and committed it.
>
>
Thanks!


>  > 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 took that out; "works on the two cases I tried" does not mean "portable".
>

Completely understandable.


I'm very excited to have helped contribute something, however small this
was, to the project.

Thanks again,
Will