a bit more precise postgresql setup script