Postgis Error: function st_makepoint(double precision, double precision) does not exist
I am using
postgis
in a project and I have a Postgres function that takes the Longitude/Latitude when data is inserted into a row and calculates the location geometry
field.
I am trying to setup a new database and seed it but seeding the table with geometry
postgis field is failing. This works on the original DB so I'm not sure what's happening. postgis
extension is enabled.
the error says:
My function and trigger:
4 Replies
Normally you would not install postgis into the public schema. You may have done that on your other project though...
Default is to install into extensions.
so would i change
public.ST_SetSRID()
?Try without public or changed to extensions.
Go the the Database tab and Extensions and see where you installed it.
Thanks this works:
Thanks gary