1+ The PostgreSQL contrib tree
2+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
13
2- The PostgreSQL contrib tree
3- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
4+ This subtree contains tools, modules, and examples that are not
5+ maintained as part of the core PostgreSQL system, mainly because
6+ they only address a limited audience or are too inelegant to be
7+ sold as an official feature. That, however, does not preclude
8+ their usefulness.
49
5- FIXME:
6- odbc
7- spi/preprocessor
8- tools
10+ Each subdirectory contains a README file with information about the
11+ module. Most items can be built with `gmake all' and installed
12+ with `gmake install' in the usual fashion, after you have run the
13+ `configure' script in the top-level directory. Some directories
14+ supply new user-defined functions, operators, or types. After you
15+ have installed the files you need to register the new entities in
16+ the database system by running the commands in the supplied .sql
17+ file. For example,
918
10- - the contrib contain is in the "Contrib.index"
19+ $ psql -d dbname -f module.sql
1120
12- - in each directory must be Makefile, possible Makefile template
13- is below this text,
21+ See the PostgreSQL documentation for more information about this
22+ procedure.
1423
15- --------
16- #
17- # $Header: /cvsroot/pgsql/contrib/README,v 1.19 2000/06/19 13:52:59 momjian Exp $
18- #
1924
20- TOPDIR=../..
25+ Index:
26+ ------
2127
22- include ../Makefile.global
28+ array -
29+ Array iterator functions
30+ by Massimo Dal Zotto <dz@cs.unitn.it>
2331
24- NAME= some_name
32+ earthdistance -
33+ Operator for computing earth distance for two points
34+ by Hal Snyder <hal@vailsys.com>
2535
26- PROGRAM=
27- OBJS= $(NAME).o
28- DOCS= $(NAME).doc
29- SQLS= $(NAME).sql
30- BINS=
31- EXAMPLES=
32- MODS= $(NAME)$(DLSUFFIX)
36+ findoidjoins -
37+ Finds the joins used by oid columns by examining the actual
38+ values in the oid columns and row oids.
39+ by Bruce Momjian <pgman@candle.pha.pa.us>
3340
34- CFLAGS += -I. $(CFLAGS_SL)
41+ fulltextindex -
42+ Full text indexing using triggers
43+ by Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>
3544
36- OTHER_CLEAN = $(SQLS)
45+ isbn_issn -
46+ PostgreSQL type extensions for ISBN (books) and ISSN (serials)
47+ by Garrett A. Wollman <wollman@khavrinen.lcs.mit.edu>
3748
38- all: $(MODS) $(SQLS)
49+ linux -
50+ Scripts for starting and stopping the PostgreSQL server on
51+ a Linux system
52+ by Thomas Lockhart <lockhart@alumni.caltech.edu>
3953
40- %.sql: %.sql.in
41- $(SED) "s|MODULE_PATHNAME|$(CONTRIB_MODDIR)/$@|" < $< > $@
54+ lo -
55+ Large Object maintenance
56+ by Peter Mount <peter@retep.org.uk>
4257
58+ mSQL-interface -
59+ mSQL API translation library
60+ by Aldrin Leal <aldrin@americasnet.com>
4361
44- install: install_doc install_sql install_mod install_bin install_example
62+ mac -
63+ Support functions for MAC address types
64+ by Lawrence E. Rosenman <ler@lerctr.org>
4565
46- install_doc:
47- for inst_file in $(DOCS); do \
48- $(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
49- done
66+ miscutil -
67+ PostgreSQL assert checking and various utility functions
68+ by Massimo Dal Zotto <dz@cs.unitn.it>
5069
51- install_sql:
52- for inst_file in $(SQLS); do \
53- $(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_SQLDIR); \
54- done
70+ noupdate -
71+ trigger to prevent updates on single columns
5572
56- install_mod:
57- for inst_file in $(MODS); do \
58- $(INSTALL) $(INSTL_SHLIB_OPTS) $$inst_file $(CONTRIB_MODDIR); \
59- done
73+ pgbench -
74+ TPC-B like benchmarking tool
75+ by Tatsuo Ishii <t-ishii@sra.co.jp>
6076
61- install_bin:
62- for inst_file in $(BINS); do \
63- $(INSTALL) $(INSTL_EXE_OPTS) $$inst_file $(CONTRIB_BINDIR); \
64- done
77+ pg_dumplo -
78+ Dump large objects
79+ by Karel Zak <zakkr@zf.jcu.cz>
6580
66- install_example:
67- for inst_file in $(EXAMPLES); do \
68- $(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_EXAMPLESDIR); \
69- done
81+ soundex -
82+ Soundex function
7083
71- depend dep:
72- $(CC) -MM -MG $(CFLAGS) *.c > depend
84+ spi -
85+ Various trigger functions, examples for using SPI.
7386
74- clean:
75- $(RM) *~ $(OBJS) $(MODS) $(PROGRAM) depend $(OTHER_CLEAN) core log
87+ string -
88+ C-like input/output conversion routines for strings
89+ by Massimo Dal Zotto <dz@cs.unitn.it>
7690
77- ifeq (depend,$(wildcard depend))
78- include depend
79- endif
80- -----------
81-
91+ tips/apache_logging -
92+ Getting Apache to log to PostgreSQL
93+ by Terry Mackintosh <terry@terrym.com>
94+
95+ tools -
96+ Assorted developer tools
97+ by Massimo Dal Zotto <dz@cs.unitn.it>
98+
99+ unixdate -
100+ Conversions from integer to datetime
101+ by Thomas Lockhart <lockhart@alumni.caltech.edu>
102+
103+ userlock -
104+ User locks
105+ by Massimo Dal Zotto <dz@cs.unitn.it>
106+
107+ vacuumlo -
108+ Remove orphaned large objects
109+ by Peter T Mount <peter@retep.org.uk>