It sounds like you need something like this in your nsd.tcl:
ns_section "ns/db/drivers"
ns_param postgres "nspostgres.so"
This tells AOLserver to load up nspostgres.so. The name - postgres - must use the driver name you're using in your database pool definition.