I had dobermans and babies at the same time; I don't remember any bed-sharing problems. Of course, sleep did not seem to be an option with my first baby
but generally if the baby was sleeping, he was always in his crib or next to me when I lay down, or being held.
The main space sharing problem I can remember, at the beginning especially, is that if I lay down on the floor with the baby, my dobe always tried to lie down between us. Carefully and gently, but still....it was actually rather funny.
But I do highly recommend that you take the kind of class Meadowcat recommended above relatively early in this process, so you have time to train the pup or mold his behavior if there are places where that could be a problem. You may also find out there are some potential problems or some new behaviors you'd like to have in place already that you hadn't thought of. There is a learning curve for sure when it comes to new babies.
One command I like to teach all of my dogs, but which I found especially useful with a baby in the house, is a "wait" command. It is basically a sort of freeze in place, no matter what the dog is doing--sitting, standing or lying down; it's an informal "stay". It is useful when you're trying to navigate with a baby stroller or an armful of grocery bags, and a tangled up dog leash; useful when you open the car door and don't want him to jump out right away. It's useful if the dog is off leash and you don't necessarily want to call him to you, but want him to stop heading in the direction he is going until you give him permission to keep moving. I don't like to call a dog to come just so I can put him on a leash--I just tell him to "wait" and go get him.
It is a casual command; I'm not expecting the dog not to move a muscle and to focus intently on me without looking away as I might do with a formal stay. And it can help prevent a stepped-on baby, or limit a dog's immediate and perhaps clumsy response in a situation when the baby or toddler wants to occupy the same space as the dog. A very useful command for me.