schemaExists($name) works with postgresql < 9.3