2001-01-13 11:17:05 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
The PostgreSQL contrib tree
|
2001-07-30 22:59:02 +08:00
|
|
|
---------------------------
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2002-02-22 08:12:08 +08:00
|
|
|
This subtree contains porting tools, analysis utilities, and plug-in
|
|
|
|
features that are not part of the core PostgreSQL system, mainly because
|
|
|
|
they address a limited audience or are too experimental to be part of
|
|
|
|
the main source tree. This does not preclude their usefulness.
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
Each subdirectory contains a README file with information about the
|
2002-02-22 08:10:11 +08:00
|
|
|
module. Most items can be built with `gmake all' and installed with
|
|
|
|
`gmake install' in the usual fashion, after you have run the `configure'
|
|
|
|
script in the top-level directory. Some directories supply new
|
|
|
|
user-defined functions, operators, or types. 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,
|
2000-06-19 21:54:50 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
$ psql -d dbname -f module.sql
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
See the PostgreSQL documentation for more information about this
|
|
|
|
procedure.
|
1998-07-20 17:30:13 +08:00
|
|
|
|
1999-11-30 07:26:18 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
Index:
|
|
|
|
------
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
array -
|
|
|
|
Array iterator functions
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2001-08-23 02:27:54 +08:00
|
|
|
btree_gist -
|
|
|
|
Support for emulating BTREE indexing in GiST
|
|
|
|
by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@stack.net>
|
|
|
|
|
|
|
|
chkpass -
|
|
|
|
An auto-encrypted password datatype
|
|
|
|
by D'Arcy J.M. Cain <darcy@druid.net>
|
|
|
|
|
2000-12-12 04:40:59 +08:00
|
|
|
cube -
|
|
|
|
Multidimensional-cube datatype (GiST indexing example)
|
|
|
|
by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>
|
|
|
|
|
2001-05-10 22:41:23 +08:00
|
|
|
dbase -
|
|
|
|
Converts from dbase/xbase to PostgreSQL
|
2001-12-31 21:32:04 +08:00
|
|
|
by Maarten.Boekhold <Maarten.Boekhold@reuters.com>,
|
|
|
|
Frank Koormann <fkoorman@usf.uni-osnabrueck.de>,
|
|
|
|
Ivan Baldo <lubaldo@adinet.com.uy>
|
2001-05-10 22:41:23 +08:00
|
|
|
|
2001-06-15 00:49:03 +08:00
|
|
|
dblink -
|
|
|
|
Allows remote query execution
|
2002-06-24 06:15:04 +08:00
|
|
|
by Joe Conway <joe.conway@mail.com>
|
|
|
|
|
|
|
|
dbmirror -
|
|
|
|
Replication server
|
|
|
|
by Steven Singer <ssinger@navtechinc.com>
|
2002-02-23 07:05:35 +08:00
|
|
|
|
|
|
|
dbsize -
|
|
|
|
Reports database and table disk space
|
|
|
|
by Peter Eisentraut <peter_e@gmx.net>
|
2001-06-15 00:49:03 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
earthdistance -
|
|
|
|
Operator for computing earth distance for two points
|
|
|
|
by Hal Snyder <hal@vailsys.com>
|
1998-08-11 10:32:00 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
findoidjoins -
|
|
|
|
Finds the joins used by oid columns by examining the actual
|
|
|
|
values in the oid columns and row oids.
|
|
|
|
by Bruce Momjian <pgman@candle.pha.pa.us>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
fulltextindex -
|
|
|
|
Full text indexing using triggers
|
|
|
|
by Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>
|
1998-08-17 11:35:05 +08:00
|
|
|
|
2001-08-08 00:47:43 +08:00
|
|
|
fuzzystrmatch -
|
2001-08-08 02:18:33 +08:00
|
|
|
Levenshtein, metaphone, and soundex fuzzy string matching
|
2001-08-08 02:16:01 +08:00
|
|
|
by Joe Conway <joseph.conway@home.com>, Joel Burton <jburton@scw.org>
|
2001-08-08 00:47:43 +08:00
|
|
|
|
2002-02-25 11:45:27 +08:00
|
|
|
intagg -
|
|
|
|
Integer aggregator
|
2002-06-24 06:15:04 +08:00
|
|
|
by mlw <markw@mohawksoft.com>
|
2002-02-25 11:45:27 +08:00
|
|
|
|
2001-01-16 06:20:00 +08:00
|
|
|
intarray -
|
|
|
|
Index support for arrays of int4, using GiST
|
2002-02-25 11:45:27 +08:00
|
|
|
by Teodor Sigaev <teodor@stack.net> and Oleg Bartunov <oleg@sai.msu.su>
|
2001-01-16 06:20:00 +08:00
|
|
|
|
2001-03-14 08:57:43 +08:00
|
|
|
ipc_check -
|
|
|
|
Simple test script to help in configuring IPC.
|
|
|
|
FreeBSD only, for now.
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
isbn_issn -
|
|
|
|
PostgreSQL type extensions for ISBN (books) and ISSN (serials)
|
|
|
|
by Garrett A. Wollman <wollman@khavrinen.lcs.mit.edu>
|
2000-04-17 02:41:30 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
lo -
|
|
|
|
Large Object maintenance
|
|
|
|
by Peter Mount <peter@retep.org.uk>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2002-07-31 00:40:34 +08:00
|
|
|
ltree -
|
|
|
|
Tree-like data structures
|
|
|
|
by Teodor Sigaev <teodor@stack.net> and Oleg Bartunov <oleg@sai.msu.su>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
mSQL-interface -
|
|
|
|
mSQL API translation library
|
|
|
|
by Aldrin Leal <aldrin@americasnet.com>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
mac -
|
|
|
|
Support functions for MAC address types
|
|
|
|
by Lawrence E. Rosenman <ler@lerctr.org>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
miscutil -
|
|
|
|
PostgreSQL assert checking and various utility functions
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2001-01-31 01:37:49 +08:00
|
|
|
mysql -
|
2002-06-24 06:15:04 +08:00
|
|
|
Utility to convert MySQL schema dumps to SQL92 and PostgreSQL
|
2001-01-31 01:37:49 +08:00
|
|
|
by Thomas Lockhart <lockhart@alumni.caltech.edu>
|
2001-02-10 19:46:00 +08:00
|
|
|
Max Rudensky <fonin@ziet.zhitomir.ua>
|
|
|
|
Valentine Danilchuk <valdan@ziet.zhitomir.ua>
|
2001-01-31 01:37:49 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
noupdate -
|
2002-06-24 06:15:04 +08:00
|
|
|
Trigger to prevent updates on single columns
|
2000-06-12 12:01:52 +08:00
|
|
|
|
2001-01-31 01:37:49 +08:00
|
|
|
oid2name -
|
2002-06-24 06:15:04 +08:00
|
|
|
Maps numeric files to table names
|
2001-01-31 01:37:49 +08:00
|
|
|
by B Palmer <bpalmer@crimelabs.net>
|
|
|
|
|
2001-05-10 23:52:27 +08:00
|
|
|
oracle -
|
2002-06-24 06:15:04 +08:00
|
|
|
Converts Oracle database schema to PostgreSQL
|
2001-05-10 23:52:27 +08:00
|
|
|
by Gilles Darold <gilles@darold.net>
|
|
|
|
|
2000-11-22 05:58:23 +08:00
|
|
|
pg_dumplo -
|
|
|
|
Dump large objects
|
|
|
|
by Karel Zak <zakkr@zf.jcu.cz>
|
|
|
|
|
2001-02-11 10:18:27 +08:00
|
|
|
pg_logger -
|
|
|
|
Stdin-to-syslog gateway for PostgreSQL
|
|
|
|
by Nathan Myers <ncm@nospam.cantrip.org>
|
|
|
|
|
2002-01-15 01:32:07 +08:00
|
|
|
pg_upgrade -
|
|
|
|
Upgrade from previous PostgreSQL version without pg_dump/reload
|
|
|
|
by Bruce Momjian <pgman@candle.pha.pa.us>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
pgbench -
|
|
|
|
TPC-B like benchmarking tool
|
|
|
|
by Tatsuo Ishii <t-ishii@sra.co.jp>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2000-11-22 05:58:23 +08:00
|
|
|
pgcrypto -
|
2001-09-29 11:11:58 +08:00
|
|
|
Cryptographic functions
|
2000-11-22 05:58:23 +08:00
|
|
|
by Marko Kreen <marko@l-t.ee>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
2002-06-23 11:51:55 +08:00
|
|
|
reindexdb -
|
2002-06-22 03:34:18 +08:00
|
|
|
Reindexes a database
|
|
|
|
by Shaun Thomas <sthomas@townnews.com>
|
|
|
|
|
2001-10-01 09:52:38 +08:00
|
|
|
pgstattuple -
|
|
|
|
A function returns the percentage of "dead" tuples in a table
|
|
|
|
by Tatsuo Ishii <t-ishii@sra.co.jp>
|
|
|
|
|
2001-01-31 01:37:49 +08:00
|
|
|
retep -
|
2002-06-24 06:15:04 +08:00
|
|
|
Tools to build retep tools packages
|
2001-01-31 01:37:49 +08:00
|
|
|
by Peter T Mount <peter@retep.org.uk>
|
|
|
|
|
|
|
|
rserv -
|
2002-06-24 06:15:04 +08:00
|
|
|
Replication server
|
2001-01-31 01:37:49 +08:00
|
|
|
by Vadim B. Mikheev <vadim4o@email.com>
|
|
|
|
|
2001-06-01 02:27:18 +08:00
|
|
|
rtree_gist -
|
|
|
|
Support for emulating RTREE indexing in GiST
|
|
|
|
by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@stack.net>
|
|
|
|
|
2000-12-12 04:40:59 +08:00
|
|
|
seg -
|
|
|
|
Confidence-interval datatype (GiST indexing example)
|
|
|
|
by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
spi -
|
|
|
|
Various trigger functions, examples for using SPI.
|
1999-06-06 04:07:54 +08:00
|
|
|
|
2001-02-09 03:53:33 +08:00
|
|
|
start-scripts -
|
|
|
|
Scripts for starting the server at boot time.
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
string -
|
|
|
|
C-like input/output conversion routines for strings
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
1998-07-20 17:30:13 +08:00
|
|
|
|
As mentioned above, here is my contrib/tablefunc patch. It includes
three functions which exercise the tablefunc API.
show_all_settings()
- returns the same information as SHOW ALL, but as a query result
normal_rand(int numvals, float8 mean, float8 stddev, int seed)
- returns a set of normally distributed float8 values
- This routine implements Algorithm P (Polar method for normal
deviates) from Knuth's _The_Art_of_Computer_Programming_, Volume 2,
3rd ed., pages 122-126. Knuth cites his source as "The polar
method", G. E. P. Box, M. E. Muller, and G. Marsaglia,
_Annals_Math,_Stat._ 29 (1958), 610-611.
crosstabN(text sql)
- returns a set of row_name plus N category value columns
- crosstab2(), crosstab3(), and crosstab4() are defined for you,
but you can create additional crosstab functions per directions
in the README.
Joe Conway
2002-07-31 00:31:11 +08:00
|
|
|
tablefunc -
|
|
|
|
Examples of tables returning functions
|
|
|
|
by Joe Conway <mail@joeconway.com>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
tips/apache_logging -
|
|
|
|
Getting Apache to log to PostgreSQL
|
|
|
|
by Terry Mackintosh <terry@terrym.com>
|
|
|
|
|
|
|
|
tools -
|
|
|
|
Assorted developer tools
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
|
2001-10-13 07:19:09 +08:00
|
|
|
tsearch -
|
|
|
|
Full-text-index support using GiST
|
|
|
|
by Teodor Sigaev <teodor@stack.net> and Oleg Bartunov
|
|
|
|
<oleg@sai.msu.su>.
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
userlock -
|
|
|
|
User locks
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
|
|
|
|
|
|
|
vacuumlo -
|
|
|
|
Remove orphaned large objects
|
|
|
|
by Peter T Mount <peter@retep.org.uk>
|
2001-07-30 22:59:02 +08:00
|
|
|
|
|
|
|
xml -
|
|
|
|
Storing XML in PostgreSQL
|
2001-08-21 08:36:25 +08:00
|
|
|
by John Gray <jgray@azuli.co.uk>
|