code: func PgDefaultACLByDefaclroleDefaclnamespaceDefaclobjtype(db XODB, defaclrole pgtypes.Oid, defaclnamespace pgtypes.Oid, defaclobjtype uint8) (*PgDefaultACL, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT ` +
  		`tableoid, cmax, xmax, cmin, xmin, oid, ctid, defaclrole, defaclnamespace, defaclobjtype, defaclacl ` +
  		`FROM pg_catalog.pg_default_acl ` +
  		`WHERE defaclrole = $1 AND defaclnamespace = $2 AND defaclobjtype = $3`
  
  	// run query
  	XOLog(sqlstr, defaclrole, defaclnamespace, defaclobjtype)
  	pda := PgDefaultACL{}
  
  	err = db.QueryRow(sqlstr, defaclrole, defaclnamespace, defaclobjtype).Scan(&pda.Tableoid, &pda.Cmax, &pda.Xmax, &pda.Cmin, &pda.Xmin, &pda.Oid, &pda.Ctid, &pda.Defaclrole, &pda.Defaclnamespace, &pda.Defaclobjtype, &pda.Defaclacl)
  	if err != nil {
  		return nil, err
  	}
  
  	return &pda, nil
  }
docs: // PgDefaultACLByDefaclroleDefaclnamespaceDefaclobjtype retrieves a row from 'pg_catalog.pg_default_acl' as a PgDefaultACL.
  //
  // Generated from index 'pg_default_acl_role_nsp_obj_index'.