[postgis-devel] MODULE_FILENAME change proposal

strk at refractions.net strk at refractions.net
Fri Dec 16 01:48:52 PST 2005

I take this back, after a long session with our excellent System Architect.
Soft upgrade from now on will always be required between MINOR and even MICRO
releases, and after that there'll be no differences between archs.

See next mail on Versioning scheme for more info.


On Thu, Dec 15, 2005 at 04:03:35PM +0100, strk at refractions.net wrote:
> Making some research for defining a Version scheme for PostGIS 
> if found what I think to be a bug in the formation of MODULE_FILENAME
> (the value used in CREATE FUNCTION for C functions).
> The "bug" has been there since the 0.x branch.
> The problem is that we use '$libdir/$(shlib)' while $(shlib)
> changes between architectures.
> Under GNU/Linux shlib contains MAJOR and MINOR versions.
> Under FreeBSD only MAJOR version is used.
> This means that whenever SO_MINOR_VERSION is incremented
> we obtain two different behaviours in the two systems:
> 	- Existing spatial DBs under FreeBSD will automatically 
> 	  use the NEW (1.1) library
> 	- Existing spatial DBs under GNU/Linux will continue
> 	  to use the OLD (1.0) library.
> Note that the FreeBSD way is likely the one used under any SVR4
> arch (Solaris for example, can anyone confirm?).
> So, I think we should end this discrepancy by *always* using MAJOR
> version *only* to encode cases in which existing databases will NOT be
> able to work against new PostGIS versions.
> This was the case in the transition between 0.x and 1.x branches
> At the time we choosed to completely change postgis library name
> to avoid troubles (I hadn't been brave enough ;)
> Does it sound fair to all ?
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel


 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 

More information about the postgis-devel mailing list