Я пытаюсь запустить это:
SELECT
*
FROM
creator.maps
WHERE
ST_DISTANCE(
ST_POINT(10,10)::geography,
ST_POINT(geolocation)::geography
)
< 50000;
Но выдает ошибку:
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Геолокация - это ТОЧКА типа
Как мнеисправить это?
Ошибка:
ERROR: function st_point(point) does not exist