Try commenting out that function declartion in ecommerce-create.sql.
I've removed the declaration from CVS HEAD.