I love the name Barnaby, it's the name of my puss. He was named after DC Barnaby in Midsomer Murders. His brother is named Troy. I'm not putting you off because my Barnaby is really cute and loveable. It's also the name of bear in a programme I used to watch in the 1970's. Name your child whatever you like as with most names people always know someone/something that they associate with that name either good or bad, eg I knew a golden retriever called Carly. I always think of the smell of damp dog when I hear of a girl with the same name.
My eldest is Barnaby and we have never had any adverse comments (altho than my grandma whose only experience of it is Inspector Barnaby off Midsomer!!) and people also go on about how much they like it. My DS is very much not a Barney at the mo (aged 4) but we expect that to change as he gets older. There are quite a lot of dogs around called Barney though....!