fix db name for postgres