Skip to content
Snippets Groups Projects
Commit b277666e authored by User expired's avatar User expired
Browse files

updating dropTables to use CASCADE

parent a9c154da
No related branches found
No related tags found
No related merge requests found
Upcoming version: Upcoming version:
----------------- -----------------
- updating dropTables to use CASCADE (Nikolaus Krismer)
- added support for 3d datamodels (Nikolaus Krismer) - added support for 3d datamodels (Nikolaus Krismer)
- changing parameter usage for osmPti2mmds (Nikolaus Krismer) - changing parameter usage for osmPti2mmds (Nikolaus Krismer)
- updating gradle to version 3.1 (Nikolaus Krismer) - updating gradle to version 3.1 (Nikolaus Krismer)
......
...@@ -18,7 +18,7 @@ BEGIN ...@@ -18,7 +18,7 @@ BEGIN
AND AND
table_name ILIKE (_regexp) table_name ILIKE (_regexp)
LOOP LOOP
EXECUTE 'DROP TABLE ' || quote_ident(row.table_schema) || '.' || quote_ident(row.table_name); EXECUTE 'DROP TABLE ' || quote_ident(row.table_schema) || '.' || quote_ident(row.table_name) || ' CASCADE';
RAISE INFO 'Dropped table: %', quote_ident(row.table_schema) || '.' || quote_ident(row.table_name); RAISE INFO 'Dropped table: %', quote_ident(row.table_schema) || '.' || quote_ident(row.table_name);
END LOOP; END LOOP;
END; END;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment