Amended pg db settings