code: func PgDependsByClassidObjidObjsubid(db XODB, classid pgtypes.Oid, objid pgtypes.Oid, objsubid int) ([]*PgDepend, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT ` +
  		`tableoid, cmax, xmax, cmin, xmin, ctid, classid, objid, objsubid, refclassid, refobjid, refobjsubid, deptype ` +
  		`FROM pg_catalog.pg_depend ` +
  		`WHERE classid = $1 AND objid = $2 AND objsubid = $3`
  
  	// run query
  	XOLog(sqlstr, classid, objid, objsubid)
  	q, err := db.Query(sqlstr, classid, objid, objsubid)
  	if err != nil {
  		return nil, err
  	}
  	defer q.Close()
  
  	// load results
  	res := []*PgDepend{}
  	for q.Next() {
  		pd := PgDepend{}
  
  		// scan
  		err = q.Scan(&pd.Tableoid, &pd.Cmax, &pd.Xmax, &pd.Cmin, &pd.Xmin, &pd.Ctid, &pd.Classid, &pd.Objid, &pd.Objsubid, &pd.Refclassid, &pd.Refobjid, &pd.Refobjsubid, &pd.Deptype)
  		if err != nil {
  			return nil, err
  		}
  
  		res = append(res, &pd)
  	}
  
  	return res, nil
  }
docs: // PgDependsByClassidObjidObjsubid retrieves a row from 'pg_catalog.pg_depend' as a PgDepend.
  //
  // Generated from index 'pg_depend_depender_index'.