xotcl-core generates at startup automatically interfaces to all stored procedures in the database. For every package (in the oracle terminology) an object in the
::xo::db::sql
namespace is generated. By calling e.g.
::xo::db::sql::acs_attribute create_attribute
one is calling actually in an postgres installation the stored procedure
acs_attribute__create_attribute
This interface is much faster than the usual OpenACS interface and allows to handle defaults for attribtues, give error messages about expected attributes, etc.
btw, i've updated xotcl-core once more, it should be now more backwards compatible (not tested), so you might not have to update nsf/nx.
all the best
-gn