Forum OpenACS Development: Response to Proper config.tcl for mixed-DB server?

Posted by Andrew Piskorski on
Dave, I've already implemented the idea of a "-database" flag to the DB API for ACS 4.2. (I called the flag "-dbn", for "database name".) I've been using it for nearly a month now and it seems to work fine. But, I haven't had the time yet to try implement the same for OpenACS. (Also, although I haven't shown anybody the code, it seems that Don may not like it.)

Anyway, it just involves changes to three files in packages/acs-tcl/tcl/ : table-display-procs.tcl, 10-database-procs.tcl, and database-util-procs.tcl

If you want to look at the code, I've slapped those files into a folder called "DB-API - Multiple Databases" in the Shared OpenACS Community document tree. E.g., ReadMe.txt and 10-database-procs.tcl.

(Btw, I tried sticking them into my personal file storage area, but the new-file-storage permissions UI seems to be so broken that there's no way for me to let anyone else see the files there.)