summaryrefslogtreecommitdiff
path: root/doc/src/sgml
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-11-11 03:25:35 +0000
committerBruce Momjian <bruce@momjian.us>2007-11-11 03:25:35 +0000
commit926bbab44832ae2763392077ecefa029d14c8544 (patch)
treee70fd1806e8a04b019808e1c71428568eb900f8c /doc/src/sgml
parent541ff409cc341ce1e0212fc6a7d67eef6709b6b4 (diff)
Make /contrib install/uninstall script consistent:
remove transactions use create or replace function make formatting consistent set search patch on first line Add documentation on modifying *.sql to set the search patch, and mention that major upgrades should still run the installation scripts. Some of these issues were spotted by Tom today.
Diffstat (limited to 'doc/src/sgml')
-rw-r--r--doc/src/sgml/contrib.sgml8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/contrib.sgml b/doc/src/sgml/contrib.sgml
index 54c66d33a5c..67a158d4f50 100644
--- a/doc/src/sgml/contrib.sgml
+++ b/doc/src/sgml/contrib.sgml
@@ -16,11 +16,17 @@
these cases, you will need to run <literal>make</literal> and <literal>make
install</literal> in <literal>contrib/module</literal>. After you have
installed the files you need to register the new entities in the database
- system by running the commands in the supplied .sql file. For example,
+ system by running the commands in the supplied <literal>.sql</> file.
+ For example,
<programlisting>
$ psql -d dbname -f module.sql
</programlisting>
+
+ You can modify the first command in the <literal>.sql</> file to control
+ the schema where the module is created. During major upgrades, even
+ though the restored database might already have the desired module
+ functions, run the installation script again to add any new functions.
</para>
&adminpack;