[postgis-tickets] [PostGIS] #3842: can't upgrade from postgis 2.4.0beta1 to postgis-2.4.0 latest dev

PostGIS trac at osgeo.org
Mon Sep 11 17:31:52 PDT 2017


#3842: can't upgrade from postgis 2.4.0beta1 to postgis-2.4.0 latest dev
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.4.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by robe:

Old description:

> {{{
> CREATE EXTENSION postgis;
> }}}
>

> works okay but if I come from postgis-2.4.0 beta1 install and do
>

> {{{
> ALTER EXTENSION postgis UPDATE;
> }}}
>

> I get
>

> {{{
> ERROR:  aggregate st_asgeobuf(anyelement) does not exist
> }}}
>

> this might have something to do with our alter extension logic assuming
> we never upgrade aggregates during a minor and it probably considers
> 2.4.0beta1 to 2.4.0dev being a minor upgrade.  And it's probably erroring
> on the comment install which is expecting to find the new function there
> and doesn't find it.

New description:

 {{{
 CREATE EXTENSION postgis;
 }}}


 works okay but if I come from postgis-2.4.0 beta1 install and do


 {{{
 ALTER EXTENSION postgis UPDATE;
 }}}


 I get


 {{{
 ERROR:  aggregate st_asgeobuf(anyelement) does not exist
 }}}


 this might have something to do with our upgrade script logic assuming we
 never upgrade aggregates during a minor and it probably considers
 2.4.0beta1 to 2.4.0dev being a minor upgrade.  And it's probably erroring
 on the comment install which is expecting to find the new function there
 and doesn't find it.

--

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3842#comment:2>
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