[postgis-tickets] [PostGIS] #2279: Can't upgrade PostGIS with extension

PostGIS trac at osgeo.org
Tue Apr 23 09:04:29 PDT 2013


#2279: Can't upgrade PostGIS with extension
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  robe         
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by robe):

  * priority:  blocker => high


Comment:

 okay this might be something wrong with my installation.  This is my
 oldest database ever that was restored from 1.5 using postgis_restore.pl
 and that I have been happily upgrading from 2.0 to 2.1s.

 I tried creating a database with a postgis 2.1 from February and then
 upgraded it to latest and it was fine. Funny thing about this database is
 that when I list functions in the extension, geometry_gist_sel_2d is not
 one of them and yet the extension depends on it and I don't see any other
 reference and I can't drop it from the extension because well it's not
 part of it.


 {{{
 ERROR:  function geometry_gist_sel_2d(internal,oid,internal,integer) is
 not a member of extension "postgis"

 }}}

   Could be a loose thread in PostgreSQL extension machinery.

 Same issue with all these:


 {{{
 DROP FUNCTION IF EXISTS geometry_gist_sel_2d (internal, oid, internal,
 int4);
 DROP FUNCTION IF EXISTS geometry_gist_joinsel_2d(internal, oid, internal,
 smallint);
 DROP FUNCTION IF EXISTS geography_gist_selectivity (internal, oid,
 internal, int4);
 DROP FUNCTION IF EXISTS geography_gist_join_selectivity(internal, oid,
 internal, smallint);
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2279#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list