Can't you just drop all the functions defined in postgres-pgtcl? Are there any tables/views/functions that call them directly? A few moments with grep in /doc/sql should answer that question. If not, dropping them should be fine and the queries from the ACS Tcl scripts will call the built-in function, not the pgtcl one.