hi alpha,
congratulations on getting the surgery done!
i think what you are feeling is normal considering that you are straining and the stool is hard.
i don't remember what you are taking for stool softners but i was reluctant to after surgery. then i opted to try the metamucil wafers (my favorite are the apple cinnamon) and having 3 of those little packets with hot jasmine green tea or cool water throughout the day really helped soften things up.
***
the only thing that may be of concern is the yellow discharge. is there pain associated with this? it wouldn't be a bad thing to call your surgical CRS/doc to give you a look and see.
i don't want to cause you alarm....but it would certainly help rule out anything negative.