I'd assumed get_permalink(post_id) returned the full canonical link for the post but I've got a user using some of my code and its failing because get_permalink(post_id) is only returning a relative url (i.e its missing the http://domain.name.here) part.
Is this a configuration issue? I'm wondering if he's managed to screw something up in the permalink settings.