<div dir="auto">Allan,</div><div dir="auto"><br></div><div dir="auto">So that might be issue if you jump from 11 to 13 in between Postgis is missing you can open AWS case and confirm. </div><div dir="auto"><br></div><div dir="auto">Fix is you upgrade to 12 do Postgis upgrade and then do PG 13 upgrade and Postgis Upgrade again . Issue is how they maintain all Postgis version prior they not allow skip in between version I mostly use Aurora so if they allowing this on RDS might have started recently, it will be good if they control Postgis upgrade or have some fix of issue you facing.</div><div dir="auto"><br></div><div dir="auto">If you in urgency do upgrade the steps I mentioned should work. Upgrade to 12 and do Postgis Upgrade (you can bypass analyze step) and start upgrade to 13 and do Postgis upgrade and do post upgrade steps analyze etc … issue is Postgis 2.52 need to upgrade to Postgis 3.0  and then you can upgrade to Postgis 3.2 there is not direct jump from Postgis 2.5 to Postgis 3.2 hopefully they can handle if they allowing PG upgrades from11 to 13 directly they should handle this too.</div><div dir="auto"><br></div><div dir="auto">Thanks </div><div dir="auto"><br></div><div dir="auto">Raj</div><div dir="auto"><br></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 14, 2022 at 6:26 PM Allan Chase <<a href="mailto:allan.chase@bluestaq.com">allan.chase@bluestaq.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">





<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="m_6113571836076153218WordSection1">
<p class="MsoNormal">According to <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.PostgreSQL.html" target="_blank">
Upgrading the PostgreSQL DB engine for Amazon RDS - Amazon Relational Database Service</a>, one can upgrade from 11.12 right to 13.3.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"Comic Sans MS"">Allan Chase<u style="font-family:"Comic Sans MS""></u><u style="font-family:"Comic Sans MS""></u></span></p>
<p class="MsoNormal">Data Engineer<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div style="border-style:solid none none;border-top-width:1pt;padding:3pt 0in 0in;border-top-color:rgb(225,225,225)">
<p class="MsoNormal"><b>From:</b> Raj Talati <<a href="mailto:rajtalati@gmail.com" target="_blank">rajtalati@gmail.com</a>> <br>
<b>Sent:</b> Monday, February 14, 2022 4:08 PM<br>
<b>To:</b> Allan Chase <<a href="mailto:allan.chase@bluestaq.com" target="_blank">allan.chase@bluestaq.com</a>>; PostGIS Users Discussion <<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a>><br>
<b>Subject:</b> [External] Re: [postgis-users] Postgis 3.0.3 extension for AWS RDS Postgres 13.3<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">**************************************************************************<br>
ATTENTION: External email <br>
Please verify the sender before opening attachments or clicking links. <br>
************************************************************************** <u></u><u></u></p></div></div><div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="m_6113571836076153218WordSection1">
<div>
<div>
<p class="MsoNormal">If this AWS RDS you cannot upgrade directly from 11.x to 13.x . You will need to upgrade to 12.x and if you did like upgraded 11.x to 12.x and the. Upgraded fro 12.x to 13.3 then when you upgraded from 11.x to 12.x you need to upgrade Postgis
 too as AWS as that should allow you to upgrade postgis and then when you upgrade Postgres to 13 you should able to upgrade Postgis too. If we bypass Postgis upgrade while going from 11-> 12 and just so while doing 12->13 you will face this issue .<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hope this helps.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, Feb 14, 2022 at 5:40 PM Sandro Santilli <<a href="mailto:strk@kbt.io" target="_blank">strk@kbt.io</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-style:none none none solid;border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in;border-left-color:rgb(204,204,204)">
<p class="MsoNormal">On Mon, Feb 14, 2022 at 03:33:29PM -0500, Regina Obe wrote:<br>
<br>
> the workaround is below, but not sure it will work on AWS<br>
> RDS as updating system tables might be off limits.<br>
> <br>
> UPDATE pg_extension SET extversion = 'ANY'<br>
> WHERE extname = 'postgis';<br>
<br>
Allan: please let us know if AWS RDS allows or not the above<br>
UPDATE, as we are planning to use that construct for<br>
the postgis_extensions_upgrade() function in PostGIS-3.3.0<br>
<br>
--strk;<br>
_______________________________________________<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/mailman/listinfo/postgis-users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>

</blockquote></div></div>