* Alex Hunsaker (bada...@gmail.com) wrote: > On Tue, Aug 17, 2010 at 06:31, Stephen Frost <sfr...@snowman.net> wrote: > > * Peter Eisentraut (pete...@gmx.net) wrote: > >> Other comments? > > > > Will we be able to use it for psql while keeping just one database > > connection? I assume the answer is 'no', but it sure would be nice.. > > I think thats something that could be worked out in libpq after this > patch. Although I'd bump your nice to an awesome.
If it was configurable via \set and I could drop it in my .psqlrc, and it knew not to only do it after a few seconds (otherwise it'd be far too much)... I don't like how the backend would have to send something NOTICE-like, I had originally been thinking "gee, it'd be nice if psql could query pg_stat while doing something else", but that's not really possible... So, I guess NOTICE-like messages would work, if the backend could be taught to do it. Thanks, Stephen
signature.asc
Description: Digital signature