From 6f896299b8707d320faf213c9c25d5bb066f9a5c Mon Sep 17 00:00:00 2001 From: tilmanb Date: Tue, 13 Feb 2024 16:30:29 +0100 Subject: [PATCH 1/2] Update README.md + database parameters in properties file --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 024a0ec..9488874 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,8 @@ SELECT sqlj.set_classpath('public', 'sep3'); Create the configuration table `sep3tools` which maps the _"Schluesseltypen"_ and _"Woerterbuch"_ tables to the tool by using 00_dbinfo.sql and one of the two properties files db-1.properties or db-2.properties. db-1.properties uses lower case table and column names whereas db-2.properties has upper case initial letters: +You also need to specify connection parameters for your database setup in the properties file you want to use. + ```postgres-sql sep3=# \i /tmp/00_dbinfo.sql ``` From 50c11bcea013b0eece8724737b839dbb44d58672 Mon Sep 17 00:00:00 2001 From: tilmanb Date: Wed, 14 Feb 2024 10:06:20 +0100 Subject: [PATCH 2/2] Update README.md Path inside 00_dbinfo.sql --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9488874..df1a8ad 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,8 @@ Create the configuration table `sep3tools` which maps the _"Schluesseltypen"_ an You also need to specify connection parameters for your database setup in the properties file you want to use. +In some cases you need to specify the full path to the properties file in 00_dbinfo.sql . It may be best to copy both the properties file and 00_dbinfo.sql to /tmp/ and use them from there: + ```postgres-sql sep3=# \i /tmp/00_dbinfo.sql ```