This is probably a simple question, but I\'m not very good at PostGIS and don\'t fully grok all of this.
Basically I have a table (nodes) with a POINT colum
nodes
Old question but you just have to cast like this: ST_Distance(p.geom::geography, u.geom::geography) where p and u are alias for two tables
ST_Distance(p.geom::geography, u.geom::geography)