Re: Progress indication prototype

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Progress indication prototype
Дата
Msg-id 1282165047.27661.8.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Progress indication prototype  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On tis, 2010-08-17 at 13:52 -0400, Stephen Frost wrote:
> 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.

That should be doable; you'd just have to do some ereport(NOTICE)
variant inside pgstat_report_progress and have a switch to turn it on
and off, and have psql do something with it.  The latter is really the
interesting part; the former is relatively easy once the general
framework is in place.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Return of the Solaris vacuum polling problem -- anyone remember this?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Progress indication prototype