Desde SQL seguro que postgresql tendrá algo como Mysql: "CREATE TABLE IF NOT EXISTS nombre_tabla { ... }"
Te vendría bien leer el manual oficial del SQL de PostgreSQL en su web oficial:
www.postgresql.org
Tienes información en castellano:
www.postgresql.cl
Un saludo,