Changes between Version 3 and Version 4 of UsersWikiCheckInvalidGeometriesFromGeometryColumns
- Timestamp:
- 05/08/11 09:32:19 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiCheckInvalidGeometriesFromGeometryColumns
v3 v4 18 18 sql := 'CREATE TABLE ' || quote_ident(tabris) || ' (id serial, query TEXT, invalidity INTEGER);'; 19 19 execute(sql); 20 sql := 'select ''select count(*) from '' || quote_ident(f_table_schema) || ''.'' || quote_ident(f_table_name) || '' where ST_IsValid('' || f_geometry_column || '')=false;'' as query from public.geometry_columns order by f_table_schema,f_table_name LIMIT 3';20 sql := 'select ''select count(*) from '' || quote_ident(f_table_schema) || ''.'' || quote_ident(f_table_name) || '' where ST_IsValid('' || f_geometry_column || '')=false;'' as query from public.geometry_columns order by f_table_schema,f_table_name'; 21 21 22 22 FOR _rec1 IN execute (sql)