In the beginning of “A Good Man Goes to War”:
“I have a message from the Doctor and a question from me: WHERE IS MY WIFE?”
I get it.
Rory is asking where Amy, his wife, is.
The Doctor is asking where River Song/Melody, his wife is.
So the Doctor obviously knows that their child is going to be his wife.
Uh, I took that to mean that the entire Cyber Legion blowing up was the Doctor’s message…