changeset 797:e15c981fe310

Do not create database objects in case of erroneous definitions.
author Tom Gottfried <tom@intevation.de>
date Thu, 19 Nov 2015 11:45:00 +0100
parents 385fab3be7f4
children 84cc23ab49f7
files db_schema/lada_schema.sql
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/db_schema/lada_schema.sql	Thu Nov 19 08:50:33 2015 +0100
+++ b/db_schema/lada_schema.sql	Thu Nov 19 11:45:00 2015 +0100
@@ -1,4 +1,8 @@
---
+\set ON_ERROR_STOP on
+
+BEGIN;
+
+--
 -- PostgreSQL database dump
 --
 
@@ -3303,3 +3307,4 @@
 -- PostgreSQL database dump complete
 --
 
+COMMIT;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)