Pañcakanga asks Udáyi (Pandita Udáyí, says MA.ii.629) how many kinds of feelings the Buddha mentions. Udáyi answers that there are three:
Pañcakanga, however, insists that there are but two: pleasant and unpleasant. Ananda, overhearing the conversation, reports it to the Buddha, who says that both Pañcakanga and Udáyi are correct because he himself classified feelings in various ways; sensual pleasures might be pleasant, but are not the highest pleasures; far better and more excellent are the pleasures enjoyed by a monk who develops the four jhánas, the plane of infinity of consciousness and the plane of nought.
M.i.396ff.; the Sutta is repeated at S.iv.223ff., under the name of Pañcakanga Sutta.