added PostgreSQL schema support