[postgis-tickets] [PostGIS] #4097: binary upgrade fail going from 10 (2.4) to 11 (head) (2.5)

PostGIS trac at osgeo.org
Mon May 28 15:26:45 PDT 2018


#4097: binary upgrade fail going from 10 (2.4) to 11 (head) (2.5)
------------------------------------+---------------------------
  Reporter:  robe                   |      Owner:  robe
      Type:  defect                 |     Status:  assigned
  Priority:  blocker                |  Milestone:  PostGIS 2.5.0
 Component:  build/upgrade/install  |    Version:  trunk
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by robe):

 okay I reverted back to my old pg11, and the above didn't crash so I think
 that was just something else.

 This is the error I was expecting which I got second time around:


 {{{
 pg_restore: creating SHELL TYPE "public.pgis_abs"
 pg_restore: creating FUNCTION "public.pgis_abs_in("cstring")"
 pg_restore: [archiver (db)] Error while PROCESSING TOC:
 pg_restore: [archiver (db)] Error from TOC entry 339; 1255 16453 FUNCTION
 pgis_abs_in("cstring") postgres
 pg_restore: [archiver (db)] could not execute query: ERROR:  could not
 find function "pgis_abs_in" in file
 "C:/ming64gcc48/projects/postgresql/rel/pg11w64gcc48/lib/postgis-2.4.dll"
     Command was: CREATE FUNCTION "public"."pgis_abs_in"("cstring") RETURNS
 "public"."pgis_abs"
     LANGUAGE "c" IMMUTABLE STRICT PARALLEL SAFE
     AS '$libdir/postgis-2.4', 'pgis_abs_in';

 -- For binary upgrade, handle extension membership the hard way
 ALTER EXTENSION "postgis" ADD FUNCTION "public"."pgis_abs_in"("cstring");


 }}}

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