Re: [HACKERS] modify custom variables

2014-06-20 Thread Tom Lane
Vincent Mora writes: > If I understand the problem correctly, on upgrate (ALTER EXTENSION), the > old postgis library is already loaded, the old spatial functions are > replaced by new ones pointing to the new postgis library, a call to > DefineCustomStringVariable is made and: > ERROR:

[HACKERS] modify custom variables

2014-06-20 Thread Vincent Mora
Hi, When creating postgis extension, a call to DefineCustomStringVariable is made to define postgis.backend. An assign hook allows to change the library used by spatial functions whith a: SET postgis.backend = 'sfcgal'; -- or 'geos' Everything work fine execept when upgrading postgis.