<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-9"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.contentpasted1
        {mso-style-name:contentpasted1;}
p.xmsonormal, li.xmsonormal, div.xmsonormal
        {mso-style-name:x_msonormal;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.xcontentpasted4
        {mso-style-name:x_contentpasted4;}
span.xcontentpasted3
        {mso-style-name:x_contentpasted3;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Does:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>SELECT postgis_full_version();<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Work, I’m wondering if maybe you have missed some other updates.  This could be a bug.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><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:postgis-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Bekir Niyaz<br><b>Sent:</b> Friday, March 17, 2023 5:08 AM<br><b>To:</b> 'PostGIS Users Discussion' <postgis-users@lists.osgeo.org>; postgis-users-request@lists.osgeo.org<br><b>Subject:</b> [postgis-users] Ynt: need help<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>I ran </span><span class=contentpasted1><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;background:white'>SELECT postgis_extensions_upgrade();</span></span><span style='font-family:"Calibri",sans-serif;color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>now Im gettin too many, can you help<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>ERROR,42883,"function st_force_2d(geometry) does not exist"<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Calibri",sans-serif;color:black'><o:p> </o:p></span></p></div><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="98%" align=center></div><div id=divRplyFwdMsg><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'>Gönderen:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:black'> Regina Obe <<a href="mailto:lr@pcorp.us">lr@pcorp.us</a>> adına postgis-users <<a href="mailto:postgis-users-bounces@lists.osgeo.org">postgis-users-bounces@lists.osgeo.org</a>><br><b>Gönderildi:</b> 17 Mart 2023 Cuma 11:29<br><b>Kime:</b> 'PostGIS Users Discussion' <<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>>; <a href="mailto:postgis-users-request@lists.osgeo.org">postgis-users-request@lists.osgeo.org</a> <<a href="mailto:postgis-users-request@lists.osgeo.org">postgis-users-request@lists.osgeo.org</a>><br><b>Konu:</b> Re: [postgis-users] need help</span> <o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I would run</span><o:p></o:p></p><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>SELECT postgis_extensions_upgrade();</span><o:p></o:p></p><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>SELECT postgis_extensions_upgrade();</span><o:p></o:p></p><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>That should do it. </span><o:p></o:p></p><p class=xmsonormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=xmsonormal><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 [<a href="mailto:postgis-users-bounces@lists.osgeo.org">mailto:postgis-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Bekir Niyaz<br><b>Sent:</b> Friday, March 17, 2023 3:11 AM<br><b>To:</b> <a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>; <a href="mailto:postgis-users-request@lists.osgeo.org">postgis-users-request@lists.osgeo.org</a><br><b>Subject:</b> [postgis-users] need help</span><o:p></o:p></p></div></div><p class=xmsonormal> <o:p></o:p></p><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>Hello all,</span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>I move db servers to newer servers but I misinstalled the new version of postgis, former posgis version was 3.0.0 but in new servers I realize I installed 3.3.2, therefore I get some errors <span class=xcontentpasted4><span style='background:white'> deprecated func</span></span> like  </span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>ERROR,0A000,"A stored procedure tried to use deprecated C function 'pgis_geometry_union_finalfn'","Library function 'pgis_geometry_union_finalfn' was deprecated in PostGIS 3.3.2","Consider running: SELECT postgis_extensions_upgrade()"</span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'> </span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>Now what do you recommend me to do, should I remove postgis33_12-3.3.2-1.rhel8.x86_64 package and install postgis30_12.x86_64</span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>or just run "<span class=xcontentpasted3><span style='background:white'>SELECT postgis_extensions_upgrade()" and find alternate function to deprecated ones?</span></span></span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'>This is the prod server.</span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span style='font-family:"Calibri",sans-serif;color:black'> </span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span class=xcontentpasted3><span style='font-family:"Calibri",sans-serif;color:black;background:white'>best regards.</span></span><o:p></o:p></p></div><div><p class=xmsonormal style='background:white'><span class=xcontentpasted3><span style='font-family:"Calibri",sans-serif;color:black;background:white'>thanks.</span></span><o:p></o:p></p></div></div></div></div></div></div></body></html>