[postgis-tickets] [PostGIS] #4193: Create rt_legacy.c, postgis_legacy.c

PostGIS trac at osgeo.org
Mon Oct 1 21:50:47 PDT 2018


#4193: Create rt_legacy.c, postgis_legacy.c
---------------------+---------------------------
 Reporter:  robe     |      Owner:  robe
     Type:  task     |     Status:  assigned
 Priority:  blocker  |  Milestone:  PostGIS 3.0.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 I plan to create two c script files to store legacy functions and each
 function will just throw an error when called instructing the user to
 upgrade their install.

 This was Darafei's idea and I think a good one even if we don't go into
 the "Oh my god we are changing so much" that gave pramsey the
 heebeegeebees in this pull request

 https://github.com/postgis/postgis/pull/302


 For starters I will put the pg_abs and the RT_AsBinary thingy functions
 in herethat were taken out in 2.5.

 These I had already changed in 2.5 to stub with errors so symlink still
 works.

 That will allow coming from 2.2 -> 3.0 by symlinking when you do a
 pg_upgrade.

 Next I will find the function we took out in 2.2 (I forget the name) that
 broke pg_upgrading between 2.1 and 2.2

 I think we might have some breakers between 2.0 and 2.1 as well which I'll
 try to dig up.

 I'm hoping all those folks stuck in 2.0 and 2.1 because their database is
 too big not to do a dump restore can be encouraged to move up to 3.0 if
 pg_upgrade from 2.0 -> 3.0 is relatively painless

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