view wildfly/commands.cli @ 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 4df70458164d
children
line wrap: on
line source
batch
/subsystem=datasources/jdbc-driver=postgres:add(driver-name="postgres",driver-module-name="org.postgres",driver-class-name=org.postgis.DriverWrapper)
data-source add --jndi-name=java:/jboss/lada-land --name=lada-land --connection-url=jdbc:postgresql_postGIS://lada_db:5432/lada?currentSchema=land,public --driver-name=postgres --user-name=lada --password=lada
data-source add --jndi-name=java:/jboss/lada-stamm --name=lada-stamm --connection-url=jdbc:postgresql_postGIS://lada_db:5432/lada?currentSchema=stammdaten,public --driver-name=postgres --user-name=lada --password=lada
run-batch
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)