<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi<div class=""><br class=""></div><div class="">It looks like I have installation issues with postgis. </div><div class="">I recently upgrade from pg 9.3 / postgis 2.2.x to pg 11 / postgis 2.5.2</div><div class="">But I now have some issues with some Postgis functions. For instance :</div><div class=""> SELECT<br class="">    st_collect(t.geom) AS geom<br class="">   FROM<br class="">    a_table t<br class=""><br class="">rises :</div><div class=""><div class="">ERROR:  could not access file "$libdir/postgis-2.4": No such file or directory</div><div class="">SQL state: 58P01</div><br class=""></div><div class=""><br class=""></div><div class="">It seems it looks for version 2.4, while 2.5.2 is installed :</div><div class=""><br class=""></div><div class="">$ dpkg -l | grep postgis<br class="">ii  postgis                              2.5.2+dfsg-1~exp1.pgdg90+1          amd64        Geographic objects support for PostgreSQL<br class="">ii  postgis-doc                          2.5.2+dfsg-1~exp1.pgdg90+1          all          Geographic objects support for PostgreSQL -- documentation<br class="">ii  postgresql-11-postgis-2.5            2.5.2+dfsg-1~exp1.pgdg90+1          amd64        Geographic objects support for PostgreSQL 11<br class="">ii  postgresql-11-postgis-2.5-scripts    2.5.2+dfsg-1~exp1.pgdg90+1          all          Geographic objects support for PostgreSQL 11 -- SQL scripts<br class=""><br class=""></div><div class=""><br class=""></div><div class="">$ psql -d OSU -c "SELECT PostGIS_full_version();"<br class="">                                                                             postgis_full_version                                                                             <br class="">-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br class=""> POSTGIS="2.5.2 r17328" GEOS="3.5.1-CAPI-1.9.1 r4246" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.1.2, released 2016/10/24" LIBXML="2.9.4" LIBJSON="0.12.1" TOPOLOGY RASTER</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">And what is strange is that \dx gives version 2.1.3… </div><div class="">whereas postgis_topology is ok</div><div class="">why ??</div><div class=""><br class=""></div><div class="">$ psql -d OSU -c "\dx"<br class="">                                                List of installed extensions<br class="">       Name       | Version |   Schema   |                                    Description                                    <br class="">------------------+---------+------------+-----------------------------------------------------------------------------------<br class=""> postgis          | 2.1.3   | public     | PostGIS geometry, geography, and raster spatial types and functions<br class=""> postgis_topology | 2.5.2   | topology   | PostGIS topology spatial types and functions<br class=""><br class=""></div><div class=""><br class=""></div><div class="">If I try to upgrade I obtain this error : </div><div class="">$ psql -d OSU -c "ALTER EXTENSION postgis UPDATE;"<br class="">ERROR:  function "st_union(geometry)" does not exist<br class="">LINE 2:  WHERE oid = 'st_union(geometry)'::regprocedure AND proparal...<br class="">                     ^<br class="">QUERY:  UPDATE pg_proc SET proparallel = 's'<br class=""><span class="Apple-tab-span" style="white-space:pre">       </span>WHERE oid = 'st_union(geometry)'::regprocedure AND proparallel = 'u'<br class="">CONTEXT:  PL/pgSQL function inline_code_block line 5 at SQL statement<br class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Anyone know how I can fix this version consistency issues and have a clean installation ??</div><div class=""><br class=""></div><div class="">Thank you for your help</div><div class=""><br class=""></div><div class="">Regards</div><div class=""><br class=""></div><div class="">Olivier</div><div class=""><br class=""></div><br class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div style="color: rgb(0, 0, 0); font-size: medium; " class="">-----</div><div style="color: rgb(0, 0, 0); font-size: medium; " class="">Olivier Lobry</div><div style="color: rgb(0, 0, 0);  " class="">Ingénieur de Recherche</div><div style="color: rgb(0, 0, 0);  " class="">Chargé du Système d'Information</div><div class=""><div style="color: rgb(0, 0, 0); margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; " class=""><span style="font-size: 10pt; font-family: Arial; " class=""><span class="SpellE">OSU OREME</span></span></div><div style="color: rgb(0, 0, 0); margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; " class=""><span style="font-size: 10pt; font-family: Arial; " class=""><span class="SpellE"><span class="Apple-style-span" style="font-family: Helvetica; font-size: 14px; ">UMS 3282 CNRS - UMS 223 IRD</span></span></span></div><div style="color: rgb(0, 0, 0);  margin-top: 0cm; margin-right: 0cm; margin-bottom: 0.0001pt; margin-left: 0cm; " class=""><a href="http://www.oreme.org" class="">www.oreme.org</a> / <a href="http://data.oreme.org" class="">data.oreme.org</a></div></div></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></div></span></span>
</div>
<br class=""></body></html>