[postgis-devel] postgis_version() alias of postgis_full_version() ?

Paul Ramsey pramsey at refractions.net
Wed Dec 14 16:52:38 PST 2005

Well, I will CC my list of known important PostGIS clients to this  
response: I am sure at least some of them are already using  
postgis_version for version switching, so care must be taken, but  
perhaps these guys can provide some guidance to how they are parsing  
the string.


On Dec 14, 2005, at 3:32 PM, strk at refractions.net wrote:

> I'd take postgis_proc_upgrade.pl requirement in 1.0 to 1.1 transition
> opportunity to alias postgis_version() to postgis_full_version().
> Do you guys think times are mature for this ?
> Note that postgis_version() is somehow bogus, as it returns
> information collected at database "spatialization" time,
> not postgis install, so (as an example) if you install postgis
> w/out GEOS support, create a db, then re-install libraries
> with GEOS support, postgis_version() against that db will
> wrongly tell you that NO GEOS support is present.
> The only concern I have is about clients eventually parsing
> output of postgis_version(). We might reproduce it if this
> is the case, what do you think ?
> --strk;
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel

More information about the postgis-devel mailing list