temp: PostgreSQL 8.4 compatibility