[postgis-users] undefined symbol: DirectFunctionCall2 ?

Sandro Santilli strk at keybit.net
Wed Sep 28 04:47:55 PDT 2011


On Tue, Sep 27, 2011 at 01:55:50PM -0700, Greg Allensworth wrote:

> So, next questions would be: what went wrong that it was using the
> old .so in the upgrade output, and how do I correct it?
> 
> I suppose one approach is to take the .dump.ascii file, snip out the
> CREATE OR REPLACE FUNCTION paragraphs, substitute the correct .so,
> and run those. Does that sound like a good approach, or a Really Bad
> Idea?

The corect approach is snipping out all objects which are _known_
to belong to any version of PostGIS.
This is what the postgis_upgrade.pl script and his successor
new_postgsi_upgrade.pl were written for.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list