3. Pointing AOLServer to the new Postgres

There are two changes that you need to make. You should backup your old nsd.tcl first, of course.

The first change is in the ns/db/drivers section. The name of the Postgres driver should read "postgres71.so":
ns_section "ns/db/drivers" 
ns_param   postgres     ${bindir}/postgres71.so  ;# Load PostgreSQL driver

The second change concerns the port numbers for the connections in the ns/db/pool/* sections:
ns_section "ns/db/pool/????" 
    ns_param Driver postgres 
    ns_param Connections 5 
    ns_param DataSource localhost:5433:localacs 
    ns_param User nsadmin 
   # ns_param Password "" 
    ns_param Verbose On 
    ns_param LogSQLErrors On 
    ns_param ExtendedTableInfo On 
   # ns_param MaxOpen 1000000000 
   # ns_param MaxIdle=1000000000 
Save the file, (re)start your AOLServer instance and you are up and running on Postgres 7.1. Congratulations!