fix ambiguous reference o the_geom

This commit is contained in:
John Krauss
2016-06-22 13:38:29 -04:00
parent 9379224629
commit 975137641d

View File

@@ -114,7 +114,7 @@ BEGIN
AND
observatory.OBS_column.type = 'Geometry'
AND
ST_Intersects($1, the_geom)
ST_Intersects($1, observatory.obs_table.the_geom)
$string$ || timespan_query
USING geom;
RETURN;