[db][postgres] Fixing postgres configuration