Hannu Krosing <hannu@skype.net> writes:
> Perhaps VACUUM could send some statistics after each N pages and this
> would then be available through something similar to pg_statistics
> table.
Why not just have it send some text to be displayed in the "current
command" field of pg_stat_activity? The infrastructure is all there
already for that.
regards, tom lane