I have a problem with my PostgreSQL Database Function.
I am trying to calculate the distance between two Geo points with PostGIS tools. The two points are in separate tab