Adapting release 1 to use both MonetDB and Postgres databases.