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