Perhaps the result of gluttony, Pepys said sadly (9)
I believe the answer is:
dyspepsia
'perhaps the result of gluttony' is the definition.
I can't tell whether this defines the answer.
'pepys said sadly' is the wordplay.
'sadly' is an anagram indicator.
'pepys'+'said'='pepyssaid'
'pepyssaid' with letters rearranged gives 'DYSPEPSIA'.
Can you help me to learn more?
(Other definitions for dyspepsia that I've seen before include ""It gives me wind problem"" , "Heartburn" , "It was enough to make any man sick" , "Stomach problem" , "digestive complaint" .)