Mercurial > lada > lada-server
view db_schema/stammdaten_fill_verwaltungsgrenze.sql @ 1313:b5ab25b7ac2c
Stop on error any execution of SQL via psql in DB setup.
Though this duplicates respective \set commands in many scripts,
I leave them there because they might help in debugging anyhow.
Hopefully this change will improve prevention of adding broken SQL
like currently audit.sql.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 17 Mar 2017 12:52:23 +0100 |
parents | f094aca05cf2 |
children |
line wrap: on
line source
INSERT INTO stammdaten.verwaltungsgrenze(gem_id, shape) SELECT verwaltungseinheit.id, gem_utm.geom FROM stammdaten.verwaltungseinheit JOIN geo.gem_utm ON verwaltungseinheit.id = gem_utm.ags;