The directory context for PostgreSQL scripts is install-dir\DirXMLUtilities\jdbc\sql\postgres\install. The directory context for executing Postgres commands is postgres-install-dir/pgsql/bin.
Create the database idm.
For example, from the UNIX command line, execute the following command:
./createdb idm
Install the plpgsql procedural language to database idm.
For example, from the UNIX command line, execute the following command:
./createlang plpgsql idm
From a Postgres client such as psql, log on as user postgres to the idm database.
For example, from the UNIX command line, execute the following command:
./psql -d idm postgres
By default, the Postgres user has no password.
From inside psql, execute the script 1_install_7.sql. For example:
idm=# \i 1_install_7.sql
Update the pg_hba.conf file.
For example, add entries for the idm database user. Adjust the IP-ADDRESS and IP-MASK as necessary:
# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD# allow driver user idm to connect to database idm host idm idm 255.255.255.255 255.255.255.0 password
Restart the Postgres server to effect changes made to the pg_hba.conf file.