thin server, configuring pg db