Multiple users have requested a way to edit stored procedures/functions in Postico. I'm not currently working on this feature, but I do plan to add it at some point in the future. Please click the thumbs up button if this would be useful for you!