added support for psql schemas