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
schema_ok bool;
real_schema name;
#endif
+ fixgeomres text;
BEGIN
quote_ident(column_name) || '') is null)'';
END IF;
+ SELECT fix_geometry_columns() INTO fixgeomres;
+
return
#if USE_VERSION >= 73
real_schema || ''.'' ||
table_name || ''.'' || column_name ||
'' SRID:'' || new_srid ||
'' TYPE:'' || new_type ||
- '' DIMS:'' || new_dim || ''\n '';
+ '' DIMS:'' || new_dim || ''\n '' ||
+ ''geometry_column '' || fixgeomres;
END;
'
LANGUAGE 'plpgsql' _VOLATILE_STRICT; -- WITH (isstrict);
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(
GET DIAGNOSTICS stated = ROW_COUNT;
- result = ''stats:'' || stated::text;
+ result = fixres || '' stats:'' || stated::text;
return result;
END;
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(
GET DIAGNOSTICS stated = ROW_COUNT;
- result = ''stats:'' || stated::text;
+ result = fixres || '' stats:'' || stated::text;
return result;
END;