Fix things so that PostgreSQL actually starts up as expected