We need to specify the target database.
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Jan 2009 03:35:26 +0000 (03:35 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 17 Jan 2009 03:35:26 +0000 (03:35 +0000)
We also need to cover distros that don't package 8.2 any longer.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@11867 dcc99617-32d9-48b4-a31d-7c20da2025e4

README

diff --git a/README b/README
index a426e4c..be61e79 100644 (file)
--- a/README
+++ b/README
@@ -80,19 +80,23 @@ Creating the Evergreen database:
 ===============================
 
 PostgreSQL 8.2 will be installed on your system by the Makefile.install
-prerequisite installer, but you will need to create the database and add the
-appropriate languages and extensions to support Evergreen. Issue the following
-commands as the "postgres" user to set up a database called "evergreen". Note
-that the location of the PostgreSQL "contrib" packages may vary depending on
-your distribution:
+prerequisite installer if packages are available for your distribution, or
+you will have to compile PostgreSQL 8.2 from source and install it (which
+is beyond the scope of this document).
+
+Once the PostgreSQL 8.2 database server has been installed, you will need to
+create the database and add the appropriate languages and extensions to
+support Evergreen. Issue the following commands as the "postgres" user to set
+up a database called "evergreen". Note that the location of the PostgreSQL
+"contrib" packages may vary depending on your distribution:
 
 createdb -E UNICODE evergreen
 createlang plperl evergreen
 createlang plperlu evergreen
 createlang plpgsql evergreen
-psql -f /usr/share/postgresql/8.2/contrib/tablefunc.sql
-psql -f /usr/share/postgresql/8.2/contrib/tsearch2.sql
-psql -f /usr/share/postgresql/8.2/contrib/pgxml.sql
+psql -f /usr/share/postgresql/8.2/contrib/tablefunc.sql -d evergreen
+psql -f /usr/share/postgresql/8.2/contrib/tsearch2.sql -d evergreen
+psql -f /usr/share/postgresql/8.2/contrib/pgxml.sql -d evergreen
 
 Once you have created the Evergreen database, you need to create a PostgreSQL
 user to access the database. Issue the following command as the "postgres"