<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.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="#467886" vlink="#96607D" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>I vaguely recall running into this issue when doing CREATE EXTENSION postgis_topology; But haven’t seen the issue in recent versions of postgis (e.g. 3.4 and above) and can’t remember how I worked around it.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Is your search_path set just for your user setting or for the database?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Have you tried resetting the search path.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Something like:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>set search_path=postgis, topology;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>alter extension postgis_topology update to "3.3.6";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'>Are you able to use a newer PostGIS say 3.3.7 (3.3.8 came out yesterday so might not be available yet in most distros), <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><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'> kaido vaikla <kaido.vaikla@gmail.com> <br><b>Sent:</b> Monday, December 23, 2024 6:15 AM<br><b>To:</b> postgis-users@lists.osgeo.org<br><b>Subject:</b> Update topology 3.3.3 to 3.3.6 fails<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-family:"Courier New"'>Hi, <br>Need some help.<br><br>teglms=# \dx post*<br> List of installed extensions<br> Name | Version | Schema | Description<br>------------------+---------+----------+------------------------------------------------------------<br> postgis | 3.3.6 | postgis | PostGIS geometry and geography spatial types and functions<br> postgis_raster | 3.3.6 | postgis | PostGIS raster types and functions<br> postgis_topology | 3.3.3 | topology | PostGIS topology spatial types and functions<br>(3 rows)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>teglms=# alter extension postgis_topology update to "3.3.6";<br>ERROR: type "geometry" does not exist<br>teglms=# \dT+ geometry<br> List of data types<br> Schema | Name | Internal name | Size | Elements | Owner | Access privileges | Description<br>---------+----------+---------------+------+----------+------------+-------------------+--------------------------------------------------------------------------------------<br> postgis | geometry | geometry | var | | eglmsadmin | | postgis type: The type representing spatial features with planar coordinate systems.<br>(1 row)<br><br>teglms=# select user;<br> user<br>------------<br> eglmsadmin<br>(1 row)<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>teglms=# show search_path ;<br> search_path<br>-------------------<br> postgis, topology<br>(1 row)<br><br>Why update can't find a type geometry?<br><br>br<br>Kaido<o:p></o:p></span></p></div></div></div></div></body></html>