postgis - Postgres crashed when I run function - Geographic