Here is an updated patch. I've finished the functionality to the point
where I'm content with it. I fixed up some of the remaining special
cases in pg_dump that I hadn't sorted out last time. I also moved the
scattered setvbuf(stderr, ...) handling (for Windows) into a central
place. Colors can now be configured, too.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services