From: Kevin Neufeld Date: Mon, 27 Oct 2008 06:29:42 +0000 (+0000) Subject: updated description for Populate_Geometry_Columns X-Git-Tag: 1.4.0b1~577 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=699626ae98cc7b1f8d32cb120398c4d64deab31b;p=postgis updated description for Populate_Geometry_Columns git-svn-id: http://svn.osgeo.org/postgis/trunk@3187 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_new.xml b/doc/reference_new.xml index e602c53e4..d0445de68 100644 --- a/doc/reference_new.xml +++ b/doc/reference_new.xml @@ -820,10 +820,9 @@ Check constraints: Description Ensures geometry columns have appropriate spatial constraints and - exist in the geometry_columns table. - - In particular, this means that every geometry column belonging to a - table has at least three constraints: + exist in the geometry_columns table. In particular, + this means that every geometry column belonging to a table has at least + three constraints: @@ -845,21 +844,27 @@ Check constraints: - If a table oid is provided, this function tries to determine the - srid, dimension, and geometry type of all geometry columns in the table, - adding contraints as necessary. If successful, an appropriate row is - inserted into the geometry_column table, otherwise, the exception is - caught and an error notice is raised describing the problem. + If a table oid is provided, this function + tries to determine the srid, dimension, and geometry type of all + geometry columns in the table, adding contraints as necessary. if + successful, an appropriate row is inserted into the geometry_column + table, otherwise, the exception is caught and an error notice is raised + describing the problem. - If an oid of a view is provided, as with a table oid, this function - tries to determine the srid, dimension, and type of all the geometries in - the view, inserting appropriate entries into the geometry_columns table, - but nothing is done to enforce contraints. + If the oid of a view is provided, as with a + table oid, this function tries to determine the srid, dimension, and + type of all the geometries in the view, inserting appropriate entries + into the geometry_columns table, but nothing is done + to enforce contraints. The parameterless variant is a simple wrapper for the parameterized variant that first truncates and repopulates the geometry_columns table for every spatial table and view in the database, adding spatial - contraints to tables where appropriate. + contraints to tables where appropriate. It returns a summary of the + number of geometry columns detected in the database and the number that + were inserted into the geometry_columns table. The + parameterized version simply returns the number of rows inserted into + the geometry_columns table.