From: Regina Obe Date: Tue, 14 Oct 2008 11:40:27 +0000 (+0000) Subject: completely move over rest of management functions to new section. Add probe_geometry... X-Git-Tag: 1.4.0b1~629 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab2dacf1941241939901adfb6b2c20b571ab799a;p=postgis completely move over rest of management functions to new section. Add probe_geometry_columns - never been documented, but useful. Get rid of update_geometry_stats - just returns a dumb message that its obsolete. git-svn-id: http://svn.osgeo.org/postgis/trunk@3099 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference.xml b/doc/reference.xml index d1a23d2ab..0cd079125 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -648,72 +648,6 @@ GROUP BY gid, field1,field2; PostGIS Extensions - - Management Functions - - - - update_geometry_stats([<table_name>, - <column_name>]) - - - Update statistics about spatial tables for use by the query - planner. You will also need to run "VACUUM ANALYZE [table_name] - [column_name]" for the statistics gathering process to be - complete. NOTE: starting with PostgreSQL 8.0 statistics gathering - is automatically performed running "VACUUM ANALYZE". - - - - - postgis_script_build_date() - - - Returns build date of the PostGIS scripts. - - Availability: 1.0.0RC1 - - - - - postgis_scripts_installed() - - - Returns version of the postgis scripts installed in this - database. - - - If the output of this function doesn't match the output of - postgis_scripts_released() - you probably missed to properly upgrade an existing database. - See the Upgrading section for - more info. - - - Availability: 0.9.0 - - - - - postgis_scripts_released() - - - Returns the version number of the lwpostgis.sql script - released with the installed postgis lib. - - - Starting with version 1.1.0 this function returns the same - value of . Kept - for backward compatibility. - - - Availability: 0.9.0 - - - - - Operators diff --git a/doc/reference_new.xml b/doc/reference_new.xml index dd32cd582..c1bc18b26 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -441,7 +441,7 @@ Check constraints: - text Postgis_Lib_Build_Date + text PostGIS_Lib_Build_Date @@ -556,6 +556,155 @@ Check constraints: + + + PostGIS_Scripts_Build_Date + + Returns build date of the PostGIS scripts. + + + + + + text PostGIS_Scripts_Build_Date + + + + + + + + Description + + Returns build date of the PostGIS scripts. + + Availability: 1.0.0RC1 + + + + Examples + + SELECT PostGIS_Scripts_Build_Date(); + postgis_scripts_build_date +------------------------- + 2007-08-18 09:09:26 +(1 row) + + + + See Also + + , , , , + + + + + + PostGIS_Scripts_Installed + + Returns version of the postgis scripts installed in this + database. + + + + + + text PostGIS_Scripts_Installed + + + + + + + + Description + + Returns version of the postgis scripts installed in this + database. + + + If the output of this function doesn't match the output of + postgis_scripts_released() + you probably missed to properly upgrade an existing database. + See the Upgrading section for + more info. + + + Availability: 0.9.0 + + + + Examples + + SELECT PostGIS_Scripts_Installed(); + postgis_scripts_installed +------------------------- + 1.3.4SVN +(1 row) + + + + See Also + + , , + + + + + + PostGIS_Scripts_Released + + Returns the version number of the lwpostgis.sql script + released with the installed postgis lib. + + + + + + text PostGIS_Scripts_Released + + + + + + + + Description + + Returns the version number of the lwpostgis.sql script + released with the installed postgis lib. + + + Starting with version 1.1.0 this function returns the same + value of . Kept + for backward compatibility. + + + Availability: 0.9.0 + + + + Examples + + SELECT PostGIS_Scripts_Released(); + postgis_scripts_released +------------------------- + 1.3.4SVN +(1 row) + + + + See Also + + , , + + + PostGIS_Uses_Stats @@ -642,7 +791,51 @@ Check constraints: linkend="PostGIS_PROJ_Version" /> + + + + Probe_Geometry_Columns + + Scans all tables with PostGIS geometry constraints and adds them to the geometry_columns + table if they are not there. Also give stats on number of inserts and already present or possibly obsolete columns. + + + + + + text Probe_Geometry_Columns + + + + + + + Description + + Scans all tables with PostGIS geometry constraints and adds them to the geometry_columns + table if they are not there. Also give stats on number of inserts and already present or possibly obsolete. + This will usually only pick up records added by AddGeometryColumn() function. It will not scan views so views + will need to be manually added to geometry_columns table. + + + Examples + + SELECT Probe_Geometry_Columns(); + probe_geometry_columns +--------------------------------------- +probed:6 inserted:0 conflicts:6 stale:0 +(1 row) + + + + See Also + + + + + + UpdateGeometrySRID