2001-01-13 06:17:05 +03:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
The PostgreSQL contrib tree
|
2001-07-30 18:59:02 +04:00
|
|
|
---------------------------
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2002-02-22 03:12:08 +03: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 13:30:13 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
Each subdirectory contains a README file with information about the
|
2002-02-22 03:10:11 +03: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 17:54:50 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
$ psql -d dbname -f module.sql
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
See the PostgreSQL documentation for more information about this
|
|
|
|
procedure.
|
1998-07-20 13:30:13 +04:00
|
|
|
|
1999-11-30 02:26:18 +03:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
Index:
|
|
|
|
------
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
array -
|
|
|
|
Array iterator functions
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2001-08-22 22:27:54 +04: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-11 23:40:59 +03:00
|
|
|
cube -
|
|
|
|
Multidimensional-cube datatype (GiST indexing example)
|
|
|
|
by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>
|
|
|
|
|
2001-05-10 18:41:23 +04:00
|
|
|
dbase -
|
|
|
|
Converts from dbase/xbase to PostgreSQL
|
2001-12-31 16:32:04 +03:00
|
|
|
by Maarten.Boekhold <Maarten.Boekhold@reuters.com>,
|
|
|
|
Frank Koormann <fkoorman@usf.uni-osnabrueck.de>,
|
|
|
|
Ivan Baldo <lubaldo@adinet.com.uy>
|
2001-05-10 18:41:23 +04:00
|
|
|
|
2001-06-14 20:49:03 +04:00
|
|
|
dblink -
|
|
|
|
Allows remote query execution
|
2002-06-24 02:15:04 +04:00
|
|
|
by Joe Conway <joe.conway@mail.com>
|
|
|
|
|
|
|
|
dbmirror -
|
|
|
|
Replication server
|
|
|
|
by Steven Singer <ssinger@navtechinc.com>
|
2002-02-23 02:05:35 +03:00
|
|
|
|
|
|
|
dbsize -
|
|
|
|
Reports database and table disk space
|
|
|
|
by Peter Eisentraut <peter_e@gmx.net>
|
2001-06-14 20:49:03 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
earthdistance -
|
|
|
|
Operator for computing earth distance for two points
|
|
|
|
by Hal Snyder <hal@vailsys.com>
|
1998-08-11 06:32:00 +04:00
|
|
|
|
2000-09-19 00:11:37 +04: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 13:30:13 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
fulltextindex -
|
|
|
|
Full text indexing using triggers
|
|
|
|
by Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>
|
1998-08-17 07:35:05 +04:00
|
|
|
|
2001-08-07 20:47:43 +04:00
|
|
|
fuzzystrmatch -
|
2001-08-07 22:18:33 +04:00
|
|
|
Levenshtein, metaphone, and soundex fuzzy string matching
|
2001-08-07 22:16:01 +04:00
|
|
|
by Joe Conway <joseph.conway@home.com>, Joel Burton <jburton@scw.org>
|
2001-08-07 20:47:43 +04:00
|
|
|
|
2002-02-25 06:45:27 +03:00
|
|
|
intagg -
|
|
|
|
Integer aggregator
|
2002-06-24 02:15:04 +04:00
|
|
|
by mlw <markw@mohawksoft.com>
|
2002-02-25 06:45:27 +03:00
|
|
|
|
2001-01-16 01:20:00 +03:00
|
|
|
intarray -
|
|
|
|
Index support for arrays of int4, using GiST
|
2002-02-25 06:45:27 +03:00
|
|
|
by Teodor Sigaev <teodor@stack.net> and Oleg Bartunov <oleg@sai.msu.su>
|
2001-01-16 01:20:00 +03:00
|
|
|
|
2001-03-14 03:57:43 +03:00
|
|
|
ipc_check -
|
|
|
|
Simple test script to help in configuring IPC.
|
|
|
|
FreeBSD only, for now.
|
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
isbn_issn -
|
|
|
|
PostgreSQL type extensions for ISBN (books) and ISSN (serials)
|
|
|
|
by Garrett A. Wollman <wollman@khavrinen.lcs.mit.edu>
|
2000-04-16 22:41:30 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
lo -
|
|
|
|
Large Object maintenance
|
|
|
|
by Peter Mount <peter@retep.org.uk>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2002-07-30 20:40:34 +04:00
|
|
|
ltree -
|
|
|
|
Tree-like data structures
|
|
|
|
by Teodor Sigaev <teodor@stack.net> and Oleg Bartunov <oleg@sai.msu.su>
|
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
mSQL-interface -
|
|
|
|
mSQL API translation library
|
|
|
|
by Aldrin Leal <aldrin@americasnet.com>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
mac -
|
|
|
|
Support functions for MAC address types
|
|
|
|
by Lawrence E. Rosenman <ler@lerctr.org>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
miscutil -
|
|
|
|
PostgreSQL assert checking and various utility functions
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2001-01-30 20:37:49 +03:00
|
|
|
mysql -
|
2002-06-24 02:15:04 +04:00
|
|
|
Utility to convert MySQL schema dumps to SQL92 and PostgreSQL
|
2001-01-30 20:37:49 +03:00
|
|
|
by Thomas Lockhart <lockhart@alumni.caltech.edu>
|
2001-02-10 14:46:00 +03:00
|
|
|
Max Rudensky <fonin@ziet.zhitomir.ua>
|
|
|
|
Valentine Danilchuk <valdan@ziet.zhitomir.ua>
|
2001-01-30 20:37:49 +03:00
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
noupdate -
|
2002-06-24 02:15:04 +04:00
|
|
|
Trigger to prevent updates on single columns
|
2000-06-12 08:01:52 +04:00
|
|
|
|
2001-01-30 20:37:49 +03:00
|
|
|
oid2name -
|
2002-06-24 02:15:04 +04:00
|
|
|
Maps numeric files to table names
|
2001-01-30 20:37:49 +03:00
|
|
|
by B Palmer <bpalmer@crimelabs.net>
|
|
|
|
|
2001-05-10 19:52:27 +04:00
|
|
|
oracle -
|
2002-06-24 02:15:04 +04:00
|
|
|
Converts Oracle database schema to PostgreSQL
|
2001-05-10 19:52:27 +04:00
|
|
|
by Gilles Darold <gilles@darold.net>
|
|
|
|
|
2000-11-22 00:58:23 +03:00
|
|
|
pg_dumplo -
|
|
|
|
Dump large objects
|
|
|
|
by Karel Zak <zakkr@zf.jcu.cz>
|
|
|
|
|
2001-02-11 05:18:27 +03:00
|
|
|
pg_logger -
|
|
|
|
Stdin-to-syslog gateway for PostgreSQL
|
|
|
|
by Nathan Myers <ncm@nospam.cantrip.org>
|
|
|
|
|
2002-01-14 20:32:07 +03:00
|
|
|
pg_upgrade -
|
|
|
|
Upgrade from previous PostgreSQL version without pg_dump/reload
|
|
|
|
by Bruce Momjian <pgman@candle.pha.pa.us>
|
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
pgbench -
|
|
|
|
TPC-B like benchmarking tool
|
|
|
|
by Tatsuo Ishii <t-ishii@sra.co.jp>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2000-11-22 00:58:23 +03:00
|
|
|
pgcrypto -
|
2001-09-29 07:11:58 +04:00
|
|
|
Cryptographic functions
|
2000-11-22 00:58:23 +03:00
|
|
|
by Marko Kreen <marko@l-t.ee>
|
1998-07-20 13:30:13 +04:00
|
|
|
|
2002-06-23 07:51:55 +04:00
|
|
|
reindexdb -
|
2002-06-21 23:34:18 +04:00
|
|
|
Reindexes a database
|
|
|
|
by Shaun Thomas <sthomas@townnews.com>
|
|
|
|
|
2001-10-01 05:52:38 +04:00
|
|
|
pgstattuple -
|
|
|
|
A function returns the percentage of "dead" tuples in a table
|
|
|
|
by Tatsuo Ishii <t-ishii@sra.co.jp>
|
|
|
|
|
2001-01-30 20:37:49 +03:00
|
|
|
retep -
|
2002-06-24 02:15:04 +04:00
|
|
|
Tools to build retep tools packages
|
2001-01-30 20:37:49 +03:00
|
|
|
by Peter T Mount <peter@retep.org.uk>
|
|
|
|
|
|
|
|
rserv -
|
2002-06-24 02:15:04 +04:00
|
|
|
Replication server
|
2001-01-30 20:37:49 +03:00
|
|
|
by Vadim B. Mikheev <vadim4o@email.com>
|
|
|
|
|
2001-05-31 22:27:18 +04: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-11 23:40:59 +03:00
|
|
|
seg -
|
|
|
|
Confidence-interval datatype (GiST indexing example)
|
|
|
|
by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>
|
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
spi -
|
|
|
|
Various trigger functions, examples for using SPI.
|
1999-06-06 00:07:54 +04:00
|
|
|
|
2001-02-08 22:53:33 +03:00
|
|
|
start-scripts -
|
|
|
|
Scripts for starting the server at boot time.
|
|
|
|
|
2000-09-19 00:11:37 +04:00
|
|
|
string -
|
|
|
|
C-like input/output conversion routines for strings
|
|
|
|
by Massimo Dal Zotto <dz@cs.unitn.it>
|
1998-07-20 13:30:13 +04: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-30 20:31:11 +04:00
|
|
|
tablefunc -
|
2002-08-29 02:05:46 +04:00
|
|
|
Examples of functions returning tables
|
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-30 20:31:11 +04:00
|
|
|
by Joe Conway <mail@joeconway.com>
|
|
|
|
|
2000-09-19 00:11:37 +04: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 03:19:09 +04:00
|
|
|
tsearch -
|
|
|
|
Full-text-index support using GiST
|
|
|
|
by Teodor Sigaev <teodor@stack.net> and Oleg Bartunov
|
|
|
|
<oleg@sai.msu.su>.
|
|
|
|
|
2000-09-19 00:11:37 +04: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 18:59:02 +04:00
|
|
|
|
|
|
|
xml -
|
|
|
|
Storing XML in PostgreSQL
|
2001-08-21 04:36:25 +04:00
|
|
|
by John Gray <jgray@azuli.co.uk>
|