[Lada-commits] [PATCH 3 of 4] Add public schema to search path and remove obsolete data-source

Wald Commits scm-commit at wald.intevation.org
Fri Dec 2 20:23:11 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1480705992 -3600
# Node ID 4df70458164d1b44f1c32f49b2785eb7f9d895b4
# Parent  d8dd8ee980a690c3c3569a42c5df3f7823fbe772
Add public schema to search path and remove obsolete data-source.

We need the public schema to access PostGIS functionality.
The lada-bund data-source is obsolete since the schema has been removed.

diff -r d8dd8ee980a6 -r 4df70458164d wildfly/commands.cli
--- a/wildfly/commands.cli	Fri Dec 02 19:56:29 2016 +0100
+++ b/wildfly/commands.cli	Fri Dec 02 20:13:12 2016 +0100
@@ -1,6 +1,5 @@
 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-bund --name=lada-bund --connection-url=jdbc:postgresql_postGIS://lada_db:5432/lada?currentSchema=bund --driver-name=postgres --user-name=lada --password=lada
-data-source add --jndi-name=java:/jboss/lada-land --name=lada-land --connection-url=jdbc:postgresql_postGIS://lada_db:5432/lada?currentSchema=land --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 --driver-name=postgres --user-name=lada --password=lada
+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


More information about the Lada-commits mailing list