pg : first pgclient experiement do : part of above pgbase : latest base code, does the message loop & queries as pg above pg_catalogue : queries the schema stuff pgfuncs : example cmd line program using pg_catalogue - retrieves all of the stored procs for defined by one user in one database as sql that can be edited and imported back into the db.