You could try Datasources plugin.
http://www.grails.org/plugin/datasources
I have managed to connect two different mysql databases (postgres should be the same).
In grails project run command:
grails install-plugin datasources
Create file conf/Datasources.conf, which will hold the second schema (the default is still in Dataseource.conf)
for example:
datasources = {
datasource(name: 'wadmin') {
driverClassName('com.mysql.jdbc.Driver')
dbCreate("update")
url("jdbc:mysql://localhost/wadmin-test")
username("xx")
password("xx")
// here you will write list of classes in particular schema
domainClasses([cz.webarchiv.wadmin.Curator, cz.webarchiv.wadmin.Publisher])
dialect(org.hibernate.dialect.MySQL5InnoDBDialect)
pooled(true)
environments(['development'])
}
}
Mind the small "s" letter in datasources.
Hope this helps.