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

From Will Leinweber
Subject Re: patch to add \watch to psql
Date
Msg-id CAL8LqZSeysTceoSqJPTmHK1TiqcWhx3vf134SAL2F5p6JEnvug@mail.gmail.com
Whole thread Raw
In response to Re: patch to add \watch to psql  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch to add \watch to psql
Next
From: Jeff Davis
Date:
Subject: Re: corrupt pages detected by enabling checksums