Something about like this?
Looks good. One trivial gripe: you need to update psql/tab-complete.c
BTW, integrating PostgreSQL with WMI (Windows Management Instrumentation) would be neat, I think:
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_start_page.asp
-Neil
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org