[postgis-devel] New uninstall_postgis.sql script

Paragon Corporation lr at pcorp.us
Sat Jun 6 16:40:32 PDT 2009


 

> Replacing the .so doesn't seem to be a problem, so long as you avoided
putting any version numbers into the .so name referenced in the SQL function

> definitions.

Tom - I think I missed this part and perhaps this is what Mark is talking
about that I didn't quite get.  I assumed that 

CREATE OR REPLACE  we could do something like this

CREATE OR REPLACE FUNCTION st_geometry_recv(internal)
  RETURNS geometry AS
'$libdir/liblwgeom', 'LWGEOM_recv'
  LANGUAGE 'c' IMMUTABLE STRICT


::

To

CREATE OR REPLACE FUNCTION st_geometry_recv(internal)
  RETURNS geometry AS
'$libdir/postgis-1.4', 'LWGEOM_recv'
  LANGUAGE 'c' IMMUTABLE STRICT

But your statement above suggests this is not allowed.  I did a test and
seemed to let me get away with it.

Thanks,
Regina







More information about the postgis-devel mailing list