It looks like a postgresql8 compatibilty issue. Did you configure your Postgres 8.2.4 for backward compatibility?
Take a look at: http://www.openacs.org/xowiki/How_to_install_in_Postgres_8%2ex