postgresql7.1 select site_node__node_id('/', null) select host, node_id, site_node__url(node_id) as url from host_node_map