Advanced static pages + postgresql configuration