<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Just run <div class=""><br class=""></div><div class="">  SELECT postgis_full_version()</div><div class=""><br class=""></div><div class="">You should see the right version and libraries referenced.</div><div class=""><br class=""></div><div class="">P<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 25, 2019, at 8:46 AM, Bo Guo <<a href="mailto:bo.guo@gisticinc.com" class="">bo.guo@gisticinc.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
  
  <div text="#000000" bgcolor="#FFFFFF" class=""><p class="">OK.  Is there a way to validate the success of a Postgis upgrade?<br class="">
    </p>
    <div class="moz-cite-prefix">On 1/25/19 9:33 AM, Paul Ramsey wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:C9E7727A-CDCC-48A5-9199-940BE42546BE@cleverelephant.ca" class="">
      <pre class="moz-quote-pre" wrap="">You have two options, or maybe less, depending on where you get your PostgreSQL and PostGIS from. If you get them from some packager or other you might not have the freedom to mix-and-match versions.

OPTION: Simple And Lots of Steps

- Install Pg11 and PostGIS 2.4.4 for Pg11. 
- Run your PgSQL pg_upgrade process
- Install PostGIS 2.5 for Pg11
- Run the PostGIS ‘ALTER EXTENSION postgis UPDATE’ process
- Celegrate

OPTION: More harder

- Install Pg11 and PostGIS 2.5 for Pg11
- Try and run your pg_upgrade
- If you’re lucky, it “just works”
- If you’re not lucky, you might have to find the Pg11 install of postgis-2.5.so and make a symlink to it from postgis-2.4.so
- If you’re not lucky, you might have to track down and remove old versions of geos that are interfering with newer versions

Note that in both options, you do have to install a version of PostGIS that has been built against your new database version. The PostGIS 2.4 you already have installed for Pg9.6 is only serving your 9.6 databases, it does nothing for your new Pg11 databases.

ATB,
P




</pre>
      <blockquote type="cite" class="">
        <pre class="moz-quote-pre" wrap="">On Jan 25, 2019, at 8:26 AM, Bo Guo <a class="moz-txt-link-rfc2396E" href="mailto:bo.guo@gisticinc.com"><bo.guo@gisticinc.com></a> wrote:

Hi all,

We plan to upgrade PostgreSQL 9.6 (PostGIS "2.4.4 r16526") to PostgreSQL 11 in the next couple of weeks.

I am just wondering if there is anything I should be concerned about on the side of Postgis, such as will postgis version upgrade automatically?  If not, should I upgrade Postgis after the PostgreSQL update?, etc.

Thanks!

Bo


_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre>
    </blockquote>
    <div class="moz-signature">-- <br class="">
      Bo Guo, PhD, PE <br class="">
      Gistic Research, Inc.<br class="">
      2033 E Warner Rd. Ste 105 <br class="">
      Tempe, AZ 85284 <br class="">
      <a href="" "http:="" www.gisticinc.com"="" class="">www.gisticinc.com</a> <br class="">
      Tel: 480-656-9962
    </div>
  </div>

_______________________________________________<br class="">postgis-users mailing list<br class=""><a href="mailto:postgis-users@lists.osgeo.org" class="">postgis-users@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/postgis-users</div></blockquote></div><br class=""></div></body></html>