code: func PgDbRoleSettingBySetdatabaseSetrole(db XODB, setdatabase pgtypes.Oid, setrole pgtypes.Oid) (*PgDbRoleSetting, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT ` +
  		`tableoid, cmax, xmax, cmin, xmin, ctid, setdatabase, setrole, setconfig ` +
  		`FROM pg_catalog.pg_db_role_setting ` +
  		`WHERE setdatabase = $1 AND setrole = $2`
  
  	// run query
  	XOLog(sqlstr, setdatabase, setrole)
  	pdrs := PgDbRoleSetting{}
  
  	err = db.QueryRow(sqlstr, setdatabase, setrole).Scan(&pdrs.Tableoid, &pdrs.Cmax, &pdrs.Xmax, &pdrs.Cmin, &pdrs.Xmin, &pdrs.Ctid, &pdrs.Setdatabase, &pdrs.Setrole, &pdrs.Setconfig)
  	if err != nil {
  		return nil, err
  	}
  
  	return &pdrs, nil
  }
docs: // PgDbRoleSettingBySetdatabaseSetrole retrieves a row from 'pg_catalog.pg_db_role_setting' as a PgDbRoleSetting.
  //
  // Generated from index 'pg_db_role_setting_databaseid_rol_index'.