I am currently close to publishing a paper that I first sent for review 5 years ago. The reasons why the review process was so long are not entirely clear to me, and are beside the point. During that time, I have not done any significant work on the paper, except for editing it for clarity—the vast majority of the time, the paper was with the journal.
I'm unsure what funding information I should put on the paper in this case. I wrote it, and it appeared on arXiv, during my PhD. In the meantime, I had a post-doc, and now I have just started a new post-doc. Should I mention all these sources of funding, or only the ones from during the PhD? A similar question applies to affiliations.
My field is mathematics.