<div dir="ltr">Thanks Regina! I meant to "post reply" so reiterating what I replied to you earlier......<div><br></div><div>We will wait since its no rush on our part. I have plenty of things to keep me busy for two weeks:)</div><div><br></div><div>Although my concern is if any functions HAVE changed that we will run into the same issue. We have a good amount of views that reference postgis functions. Why not do a "create or replace" instead of a drop and create? </div><div><br></div><div>Otherwise I think a hard upgrade will more than likely be our only upgrading path. </div><div><br></div><div>Thanks again! Really appreciated your quick response!</div><div><br></div><div>-jason</div><div><br></div><div><br><br>On Tuesday, March 18, 2014 3:52:00 PM UTC-6, Jason wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div style="word-wrap:break-word"><span style="font-family:arial,sans-serif">Hi All,</span><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">OS: centos 6.5</div><div style="font-family:arial,sans-serif">Postgres: 9.2.7</div><div style="font-family:arial,sans-serif">PostGIS: 2.0.3<br><div><br></div><div>We have recently finished cleaning up and consolidating apps/servers and upgraded to postgres 9.2.7. Now that postgres is upgraded we decided to get postgis upgraded as well; currently we are at 2.0.3. According to postgis docs we can do the "soft upgrade" path, which sounds wonderful. We used "create extension" for all our 2.0.3 databases.We are on centos 6.5 and I am using yum to update the postgis packages. I did a quick test on a vm that had a empty database and the postgis update went fine. After a little research I figured it was time to run the process on our dev node. The steps are:</div><div><br></div><div><br></div><div>yum install postgis2_92 #2.1.1</div><div>psql -c "ALTER EXTENSION postgis UPDATE TO '2.1.1';"<br></div><div><br></div><div>The yum installed went fine but the "alter extension" failed with: </div><div>ERROR: cannot drop function st_union(geometry) because other objects depend on it</div><div>...</div><div><br></div><div>It went on to list a few views that used that function. I tried dropping those views but it just moved on to other views that had postgis functions in them. Dropping all views is not worth it:) </div><div><br></div><div><br></div><div>Does anyone know if soft upgrading from 2.0.3 > 2.1.1 is possible? Could it be something in our setup that is stopping us from upgrading. Otherwise it looks like a hard upgrade is in our future, and its hard to get excited about that. </div><div><br></div><div>Thanks! </div><div><br></div></div></div></div>
<br>
<p><font face="Arial" size="2">This transmission contains confidential and privileged
information intended solely for the party identified above. If you receive this message in error, you must not use
it or convey it to others. Please destroy it immediately and contact the sender at
(303) 386-3955 or by return e-mail to the sender.</font></p>
</blockquote></div></div>
<br>
<p><font face="Arial" size="2">This transmission contains confidential and privileged
information intended solely for the party identified above. If you receive this message in error, you must not use
it or convey it to others. Please destroy it immediately and contact the sender at
(303) 386-3955 or by return e-mail to the sender.</font></p>