[postgis-devel] [PostGIS] #311: Rename postgis.sql to postgis-1.5.sql

PostGIS trac at osgeo.org
Tue Nov 17 04:51:53 PST 2009


#311: Rename postgis.sql to postgis-1.5.sql
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 I guess I will state my preferred here for the record.  I would much
 prefer keep the sql file names the same and instead have a versioned
 script folder

 So we would have
 contrib\
 postgis-1.5\postgis.sql
 postgis-1.5\spatial_ref_sys.sql
 postgis-1.5\postgis_...upgrade from here to there.sql (like hmm 3 of these
 things)
 postgis-1.5\postgis_comments.sql
 postgis-1.5\extras\allthose extra things we package like topology.sql
 ....and whatever nonsense we dream of in the future.
 postgis-1.5\postgis_uninstall.sql

 The reason being look already how many sql files I have itemized.  Imagine
 having to deal with different versioned named things of those all in one
 directory.  And oops I want to uninstall ...

 Yah we can say but why do we need to version spatial_ref_sys.sql.  Hmm
 because people may install stuff out of order.  Lets say for whatever
 reason you need to install a PostGIS 1.3 -- your stupid PostGIS 1.3 wipes
 out the newer PostGIS 1.5 you had already installed.  Thus I think
 spatial_ref_sys.sql should be versioned like everything else.

 To Kevin -- NO we will not be MICRO versioning the script files for the
 simple reason that when I install a PostGIS 1.4.1 I expect it to wipe out
 my PostGIS 1.4 scripts without having to uninstall my prior scripts.

 I have spoken.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/311#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-devel mailing list