I'm new to ACS, but from the errors that issue, the sql code in 5.1.5 is absent typing. I've cvs the HEAD and things seem to have been updated to work with PG 8.