Stack-D with Postgresql