mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 11:17:46 +00:00
Fix/update vessel_fn sub query because of function owner
This commit is contained in:
@@ -81,10 +81,11 @@ AS $vessel$
|
||||
anglespeedapparent,
|
||||
longitude,latitude,
|
||||
st_makepoint(longitude,latitude) AS geo_point
|
||||
FROM public.last_metric
|
||||
FROM api.metrics
|
||||
WHERE
|
||||
latitude IS NOT NULL
|
||||
AND longitude IS NOT NULL
|
||||
AND client_id = current_setting('vessel.client_id', false)
|
||||
)
|
||||
) AS t
|
||||
) AS geojson_t
|
||||
|
Reference in New Issue
Block a user