Get PostGIS version

Jason Swett picture Jason Swett · Jan 28, 2011 · Viewed 104.2k times · Source

How can I find out which version of PostGIS I have?

Answer

Nicklas Avén picture Nicklas Avén · Jan 28, 2011

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();