Re: Progress indication prototype - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Progress indication prototype
Date
Msg-id 20100817175228.GY26232@tamriel.snowman.net
Whole thread Raw
In response to Re: Progress indication prototype  (Alex Hunsaker <badalex@gmail.com>)
Responses Re: Progress indication prototype  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
* Alex Hunsaker (badalex@gmail.com) wrote:
> On Tue, Aug 17, 2010 at 06:31, Stephen Frost <sfrost@snowman.net> wrote:
> > * Peter Eisentraut (peter_e@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

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: security label support, part.2
Next
From: Robert Haas
Date:
Subject: Re: security label support, part.2