<pre>
$ initdb -D $PGDATA --locale=C --encoding=UTF8
-$ vi $PGDATA/postgresql.conf
-shared_preload_libraries = 'pg_bigm'
-custom_variable_classes = 'pg_bigm'
-
$ pg_ctl -D $PGDATA start
$ psql -d <database name>
=# CREATE EXTENSION pg_bigm;
<ul>
<li>Replace $PGDATA with the path to database cluster.</li>
<li>pg_bigm supports all PostgreSQL encoding and locale.</li>
-<li>In postgresql.conf, pg_bigm must be added into <a href="http://www.postgresql.org/docs/current/static/runtime-config-resource.html#GUC-SHARED-PRELOAD-LIBRARIES">shared_preload_libraries</a> and <a href="http://www.postgresql.org/docs/current/static/runtime-config-custom.html#GUC-CUSTOM-VARIABLE-CLASSES">custom_variable_classes</a>.
- <ul>
- <li>In PostgreSQL 9.2 or later, you need to set only shared_preload_libraries because custom_variable_classes doesn't exist.</li>
- </ul>
-</li>
+<li>In PostgreSQL9.1, <a href="http://www.postgresql.org/docs/current/static/runtime-config-custom.html#GUC-CUSTOM-VARIABLE-CLASSES">custom_variable_classes</a> needs to be set to pg_bigm in postgresql.conf.</li>
<li><a href="http://www.postgresql.org/docs/current/static/sql-createextension.html">CREATE EXTENSION</a> pg_bigm needs to be executed in all the databases that you want to use pg_bigm in.</li>
</ul>
<h3 id="delete_conf">Reset postgresql.conf</h3>
<p>Delete the following pg_bigm related settings from postgresql.conf.</p>
<ul>
-<li>shared_preload_libraries</li>
-<li>custom_variable_classes</li>
+<li>custom_variable_classes (only PostgreSQL9.1)</li>
<li>pg_bigm.* (parameters which begin with pg_bigm)</li>
</ul>