Get PostGIS version Get PostGIS version postgresql postgresql

Get PostGIS version


Since some of the functions depend on other libraries like GEOS and proj4 you might want to get their versions too. Then use:

SELECT PostGIS_full_version();


Did you try using SELECT PostGIS_version();


PostGIS_Lib_Version(); - returns the version number of the PostGIS library.

http://postgis.refractions.net/docs/PostGIS_Lib_Version.html