"already exists" errors should be ok and expected if you run packages/acs-kernel/sql/postgresql/postgesql.sql
The create and drop of functions must be the inline_* functions.