fix create table if doesn't exist for Postgres 8