Add schemas support for PostgreSQL