mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 01:22:47 +00:00
Added PROJ version in output - would change the whole thing to postgis_full_version() if it only fit into 80 cols
git-svn-id: http://svn.osgeo.org/postgis/trunk@2197 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
d13b2d4a5a
commit
4933426663
|
@ -46,6 +46,7 @@ fi
|
|||
|
||||
geosver=`psql -tAc "select postgis_geos_version()" $DB`
|
||||
jtsver=`psql -tAc "select postgis_jts_version()" $DB`
|
||||
projver=`psql -tAc "select postgis_proj_version()" $DB`
|
||||
libbuilddate=`psql -tAc "select postgis_lib_build_date()" $DB`
|
||||
pgsqlver=`psql -tAc "select version()" $DB`
|
||||
|
||||
|
@ -53,10 +54,13 @@ echo
|
|||
echo " $pgsqlver"
|
||||
echo " Postgis $libver - $libbuilddate"
|
||||
if [ -n "$geosver" ]; then
|
||||
echo " GEOS $geosver"
|
||||
echo " GEOS: $geosver"
|
||||
fi
|
||||
if [ -n "$jtsver" ]; then
|
||||
echo " JTS $jtsver"
|
||||
echo " JTS: $jtsver"
|
||||
fi
|
||||
if [ -n "$projver" ]; then
|
||||
echo " PROJ: $projver"
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue