<div dir="ltr"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 9:01 AM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<span class=""><br>
>  area(geometry) uses postgis-2.1<br>
> and st_area(geometry) uses postgis-2.2<br>
<br>
</span>The best way to fix this would be to update the legacy functions<br>
so to have them use postgis-2.2 too.<br>
<br></blockquote></div><br></div><div class="gmail_extra">Thanks for the Reply.<br></div><div class="gmail_extra">This seems to be related to <a href="https://trac.osgeo.org/postgis/ticket/2382">https://trac.osgeo.org/postgis/ticket/2382</a> (in which you, strk, seem to have been involved).<br></div><div class="gmail_extra">The problem occurs in an unregular fashion. I'm not yet sure about how to create it or how to solve it, but both has happened multiple times since yesterday.<br></div><div class="gmail_extra">The problem is that postgis errors out in most functions, because 'attempt to redefine parameter "postgis.backend" '.<br></div><div class="gmail_extra">That leaves postgis in a broken state .<br><br></div><div class="gmail_extra">I have replaced the legacy functions like you suggested, which worked much to my surprise, but did not fix the problem - at least not directly.<br></div><div class="gmail_extra">Yesterday i also tried to replace the legacy functions, but then i did not work (lots of errors about postgis.backend and functions were not replaced), and it <b>did</b> fix the problem for a while.<br></div><div class="gmail_extra"></div><div class="gmail_extra"><br></div>I will report back when i have clearer info about reproducing.<br></div><div>One thing that i'm looking into is setting and showing postgis.backend<br></div><div><br></div>Cheers,<br><div><div><div class="gmail_extra">-- <br><div class="gmail_signature"><div dir="ltr">Willy-Bas Loos<br></div></div>
</div></div></div></div>