[postgis-tickets] [PostGIS] #3681: Upgrading PostGIS on Debian6

PostGIS trac at osgeo.org
Mon Dec 19 13:22:23 PST 2016


#3681: Upgrading PostGIS on Debian6
----------------------+---------------------------
  Reporter:  AcidS76  |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 2.0.8
 Component:  postgis  |    Version:  2.0.x
Resolution:  invalid  |   Keywords:
----------------------+---------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This appears to be a user question, not a bug issue.

 Please use our mailing list instead -
 https://lists.osgeo.org/mailman/listinfo/postgis-users

 1) Going from PostGIS 1.5 to PostGIS 2.0 requires a hard upgrade of the
 database. You can't just upgrade an existing database from 1.5 to 2.0.
 2.0 to 2.+ however you can do with a soft upgrade using ALTER EXTENSION
 postgis UPDATE; from within the database.

 http://postgis.net/docs/manual-2.3/postgis_installation.html#hard_upgrade

 2) I'm guessing you now have both PostGIS 1.5 and PostGIS 2.0 installed.
 If you create a new database, you will probably get PostGIS 2.0 in that
 database.

 3) If you are compiling from source anyway, I would say to not bother with
 PostGIS 2.0 and go to PostGIS 2.3.  Going from PostGIS 1.5 to PostGIS 2.3
 is the same amount of effort as going from PostGIS 1.5 to PostGIS 2.0.

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