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

strk at refractions.net strk at refractions.net
Wed Dec 14 15:32:51 PST 2005

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 ?


More information about the postgis-devel mailing list