]> granicus.if.org Git - postgis/commitdiff
Removed automatic fix_geometry_columns() call in update_geometry_stats and AddGeometr...
authorSandro Santilli <strk@keybit.net>
Thu, 15 Sep 2005 09:55:13 +0000 (09:55 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 15 Sep 2005 09:55:13 +0000 (09:55 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1911 b70326c6-7e19-0410-871a-916f4a2858ee

CHANGES
lwgeom/lwpostgis.sql.in

diff --git a/CHANGES b/CHANGES
index a455cac9e263a7d37fcea0c451444d88028a77b6..54e9a5e681bfc73c5612cf451fdf1f28257cf364 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -17,6 +17,11 @@ PostGIS 1.1.0CVS
        - JTS support improvements
        - Chunked GeomUnion implementation (much faster)
 
+PostGIS 1.0.5CVS
+       - New "Reporting Bugs" chapter in manual
+       - Removed automatic call to fix_geometry_columns in
+         AddGeometryColumns() and update_geometry_stats()
+
 PostGIS 1.0.4
 2005/09/09
        - Memory leak plugged in GiST indexing
index e079eae832037432117f3125330b7ec75dd0f501..63a37c6e8ea7264f68fb2f616692a4fd2d71ee99 100644 (file)
@@ -2339,7 +2339,6 @@ DECLARE
        schema_ok bool;
        real_schema name;
 #endif
-       fixgeomres text;
 
 BEGIN
 
@@ -2479,8 +2478,6 @@ BEGIN
                quote_ident(column_name) || '') is null)'';
        END IF;
 
-       SELECT fix_geometry_columns() INTO fixgeomres;
-
        return 
 #if USE_VERSION >= 73
                real_schema || ''.'' || 
@@ -2488,8 +2485,7 @@ BEGIN
                table_name || ''.'' || column_name ||
                '' SRID:'' || new_srid ||
                '' TYPE:'' || new_type || 
-               '' DIMS:'' || new_dim || ''\n '' ||
-               ''geometry_column '' || fixgeomres;
+               '' DIMS:'' || new_dim || ''\n ''; 
 END;
 '
 LANGUAGE 'plpgsql' _VOLATILE_STRICT; -- WITH (isstrict);
@@ -2893,11 +2889,8 @@ AS
 DECLARE
        result text;
        stated integer;
-       fixres text;
 BEGIN
 
-       SELECT fix_geometry_columns() INTO fixres;
-
        UPDATE geometry_columns SET
 #if USE_VERSION >= 73
                stats = (build_histogram2d(create_histogram2d(
@@ -2919,7 +2912,7 @@ BEGIN
 
        GET DIAGNOSTICS stated = ROW_COUNT;
 
-       result = fixres || '' stats:'' || stated::text;
+       result = ''stats:'' || stated::text;
 
        return result;
 END;
@@ -2950,11 +2943,8 @@ DECLARE
        columnname aliAS for $2;
        stated integer;
        result text;
-       fixres text;
 BEGIN
 
-       SELECT fix_geometry_columns() INTO fixres;
-
        EXECUTE ''UPDATE geometry_columns SET
 #if USE_VERSION >= 73
                        stats = (build_histogram2d(create_histogram2d(
@@ -2984,7 +2974,7 @@ BEGIN
 
        GET DIAGNOSTICS stated = ROW_COUNT;
 
-       result = fixres || '' stats:'' || stated::text;
+       result = ''stats:'' || stated::text;
 
        return result;
 END;