From: Kevin Neufeld Date: Thu, 24 Jul 2008 05:55:44 +0000 (+0000) Subject: Moved several version functions to the new PostGIS reference. X-Git-Tag: 1.4.0b1~819 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f25edf2525d90338a8e14571ec76eb27e3a94336;p=postgis Moved several version functions to the new PostGIS reference. git-svn-id: http://svn.osgeo.org/postgis/trunk@2881 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/Makefile.in b/doc/Makefile.in index 0528e133b..24c3fbb1d 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -21,7 +21,8 @@ XSLTPROC_COMMONOPTS = \ --param admon.graphics 1 \ --param admon.textlabel 0 \ --param simplesect.in.toc 0 \ - --param use.id.as.filename 1 + --param use.id.as.filename 1 \ + --param chunk.quietly 1 XSLTPROC_HTMLOPTS = \ --stringparam html.stylesheet style.css \ @@ -33,16 +34,16 @@ CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl PGSQL_DOCDIR=@PGSQL_DOCDIR@ PGSQL_MANDIR=@PGSQL_MANDIR@ -# If XSLTPROC or XSLBASE were not found during configure, we cannot -# build the documentation -ifeq ($(XSLTPROC),) -all: requirements_not_met_xsltproc -else -ifeq ($(XSLBASE),) -all: requirements_not_met_xslbase -else -all: html/postgis.html -endif +# If XSLTPROC or XSLBASE were not found during configure, we cannot +# build the documentation +ifeq ($(XSLTPROC),) +all: requirements_not_met_xsltproc +else +ifeq ($(XSLBASE),) +all: requirements_not_met_xslbase +else +all: html/postgis.html +endif endif postgis-out.xml: postgis.xml introduction.xml installation.xml faq.xml using_postgis.xml performance_tips.xml reference.xml reference_new.xml reporting.xml release_notes.xml ../Version.config diff --git a/doc/reference.xml b/doc/reference.xml index 98ea670dd..cbea4698d 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -970,41 +970,6 @@ GROUP BY gid, field1,field2; - - postgis_version() - - - Returns PostGIS version number and compile-time - options - - - Prior to version 1.1.0 this was a procedural function, - thus possibly returning inaccurate information (in case of - incomplete database upgrades). - - - - - - postgis_lib_version() - - - Returns the version number of the PostGIS library. - - Availability: 0.9.0 - - - - - postgis_lib_build_date() - - - Returns build date of the PostGIS library. - - Availability: 1.0.0RC1 - - - postgis_script_build_date() @@ -1044,69 +1009,13 @@ GROUP BY gid, field1,field2; Starting with version 1.1.0 this function returns the same - value of postgis_lib_version(). Kept + value of . Kept for backward compatibility. Availability: 0.9.0 - - - postgis_geos_version() - - - Returns the version number of the GEOS library, or NULL if - GEOS support is not enabled. - - Availability: 0.9.0 - - - - - postgis_jts_version() - - - Returns the version number of the JTS library, or NULL if - JTS support is not enabled. - - Availability: 1.1.0 - - - - - postgis_proj_version() - - - Returns the version number of the PROJ4 library, or NULL if - PROJ4 support is not enabled. - - Availability: 0.9.0 - - - - - postgis_uses_stats() - - - Returns true if STATS usage has been enabled, false - otherwise. - - Availability: 0.9.0 - - - - - postgis_full_version() - - - Reports full postgis version and build configuration - infos. - - Availability: 0.9.0 - - diff --git a/doc/reference_new.xml b/doc/reference_new.xml index 87fa8dd60..0811707c7 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -271,6 +271,357 @@ Check constraints: + + + + PostGIS_Full_Version + + Reports full postgis version and build configuration + infos. + + + + + + text PostGIS_Full_Version + + + + + + + + Description + + Reports full postgis version and build configuration + infos. + + + + Examples + + SELECT PostGIS_Full_Version(); + postgis_full_version +---------------------------------------------------------------------------------- + POSTGIS="1.3.3" GEOS="3.1.0-CAPI-1.5.0" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS +(1 row) + + + + See Also + + , , , , + + + + + + PostGIS_GEOS_Version + + Returns the version number of the GEOS + library. + + + + + + text PostGIS_GEOS_Version + + + + + + + + Description + + Returns the version number of the GEOS library, or + NULL if GEOS support is not enabled. + + + + Examples + + SELECT PostGIS_GEOS_Version(); + postgis_geos_version +---------------------- + 3.1.0-CAPI-1.5.0 +(1 row) + + + + See Also + + , , , , + + + + + + PostGIS_JTS_Version + + Returns the version number of the JTS + library. + + + + + + text PostGIS_JTS_Version + + + + + + + + Description + + Returns the version number of the JTS library, or + NULL if JTS support is not enabled. + + + + Examples + + SELECT PostGIS_JTS_Version(); + postgis_jts_version +--------------------- + 1.8 +(1 row) + + + + See Also + + , , , , + + + + + + PostGIS_Lib_Build_Date + + Returns build date of the PostGIS library. + + + + + + text Postgis_Lib_Build_Date + + + + + + + + Description + + Returns build date of the PostGIS library. + + + + Examples + + SELECT PostGIS_Lib_Build_Date(); + postgis_lib_build_date +------------------------ + 2008-06-21 17:53:21 +(1 row) + + + + + + PostGIS_Lib_Version + + Returns the version number of the PostGIS + library. + + + + + + text PostGIS_Lib_Version + + + + + + + + Description + + Returns the version number of the PostGIS library. + + + + Examples + + SELECT PostGIS_Lib_Version(); + postgis_lib_version +--------------------- + 1.3.3 +(1 row) + + + + See Also + + , , , , + + + + + + PostGIS_PROJ_Version + + Returns the version number of the PROJ4 + library. + + + + + + text PostGIS_PROJ_Version + + + + + + + + Description + + Returns the version number of the PROJ4 library, or + NULL if PROJ4 support is not enabled. + + + + Examples + + SELECT PostGIS_PROJ_Version(); + postgis_proj_version +------------------------- + Rel. 4.4.9, 29 Oct 2004 +(1 row) + + + + See Also + + , , , , + + + + + + PostGIS_Uses_Stats + + Returns TRUE if STATS usage has been + enabled. + + + + + + text PostGIS_Uses_Stats + + + + + + + + Description + + Returns TRUE if STATS usage has been enabled, + FALSE otherwise. + + + + Examples + + SELECT PostGIS_Uses_Stats(); + postgis_uses_stats +-------------------- + t +(1 row) + + + + See Also + + + + + + + + PostGIS_Version + + Returns PostGIS version number and compile-time + options. + + + + + + text PostGIS_Version + + + + + + + + Description + + Returns PostGIS version number and compile-time options. + + + + Examples + + SELECT PostGIS_Version(); + postgis_version +--------------------------------------- + 1.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1 +(1 row) + + + + See Also + + , , , , + + + UpdateGeometrySRID