<div dir="ltr"><div><div>Hi Pradeep,<br><br></div>The code fixes weren't ported back to the 2.1 branch. As a workaround, maybe try replacing calls to ST_CollectionHomogenize(x) with ST_CollectionHomogenize(ST_GeomFromEWKB(ST_AsEWKB(x))).<br><br></div>Dan<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 7:08 AM, Pradeep Kanth G <span dir="ltr"><<a href="mailto:pgundala@avineonindia.com" target="_blank">pgundala@avineonindia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div class="m_-9197613676893522192WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks Daniel,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">It is a PostGIS 2.1.9  (EDB 9.5),after upgrading to PostGIS 2.3(EDB 9.5) this issue has been resolved.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">However , we are testing EDB Development version 9.5.And there is no compatible with PostGIS 2.3 it will support only 2.1.9. So kindly let me know how to overcome this issue on 2.1.9.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Regards<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Pradeep Kanth<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> postgis-users [mailto:<a href="mailto:postgis-users-bounces@lists.osgeo.org" target="_blank">postgis-users-bounces@<wbr>lists.osgeo.org</a>] <b>On Behalf Of </b>Daniel Baston<br><b>Sent:</b> Tuesday, February 6, 2018 5:13 PM<br><b>To:</b> PostGIS Users Discussion <<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><wbr>><br><b>Subject:</b> Re: [postgis-users] Database restarting while using ST Functions<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Pradeep,<u></u><u></u></p></div><p class="MsoNormal">Try checking the output of "SELECT postgis_full_version()". If you're not at the latest point-release, you should upgrade. There have been memory handling bugs with ST_CollectionHomogenize that could maybe cause the issue you're seeing.<br><br>Dan<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Tue, Feb 6, 2018 at 5:59 AM, Pradeep Kanth G <<a href="mailto:pgundala@avineonindia.com" target="_blank">pgundala@avineonindia.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">Dear All,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Kindly raise the below issue with EDB.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><b>Observation</b> :  Database restarting while using  ST Functions.<u></u><u></u></p><p class="MsoNormal"><b>Issue</b> :   Intersecting with two geometries, while using ST_Intersects and ST_CollectionHomogenize functions<u></u><u></u></p><p class="MsoNormal" style="text-indent:.5in">Database is restarting automatically.<u></u><u></u></p><p class="MsoNormal"><b>Example</b>: ST_Intersects(ST_<wbr>CollectionHomogenize(p.<wbr>geometry,c.geometry))<u></u><u></u></p><p class="MsoNormal"><b>Screenshot:</b><u></u><u></u></p><p class="MsoNormal"><img style="width:4.0in;height:1.7604in" id="m_-9197613676893522192m_-8182194023235064598Picture_x0020_1" src="cid:image001.png@01D39F71.4A32F250" border="0" width="384" height="169"><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="text-indent:.5in"> <u></u><u></u></p><p class="MsoNormal"><span style="color:black">Regards</span><u></u><u></u></p><p class="MsoNormal"><span style="color:black">Pradeep Kanth</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><p class="MsoNormal"><b>Disclaimer </b>| The information contained in this electronic message (including any attachments) is intended for the exclusive use of the addressee(s) and may contain confidential or privileged information.If you have received this in error, please notify the sender immediately and delete the material from your machine. Any  action including review, retransmission, dissemination of this email or the attachments present along with the email by persons or entities other than the intended recipient is prohibited.<u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt"><br><br><u></u><u></u></p></div><p class="MsoNormal"><br>______________________________<wbr>_________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div><div><div class="h5"><br>
<br>
<div align="left"><b>Disclaimer </b>| The information contained in this electronic message (including any attachments) is intended for the exclusive use of the addressee(s) and may contain confidential or privileged information.If you have received this in error, please notify the sender immediately and delete the material from your machine. Any  action including review, retransmission, dissemination of this email or the attachments present along with the email by persons or entities other than the intended recipient is prohibited.<br></div><br><br><br>
</div></div></div>

<br>______________________________<wbr>_________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-users</a><br></blockquote></div><br></div>