[postgis-devel] geos / postgis version

strk strk at keybit.net
Thu Jul 22 02:11:14 PDT 2004


Current postgis_version() function is implemented as a pl/pgsql
function. Sometimes people upgrade postgis library w/out upgrading
pl/pgsql functions, and this is *sometimes* a problem.

I think it would be useful to have the following informations
retrivable:
	postgis_scripts_version();	// pl/pgsql  function
	postgis_lib_version();		// C function
	postgis_geos_version();		// C function

Our postgis_version() would then be a wrapper, retriving the above
informations and warning user in case
postgis_scripts_version() != postgis_lib_version()

What do you think ?

--strk;



More information about the postgis-devel mailing list