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
|
2004-06-01 13:15:47 +08:00
|
|
|
user-defined functions, operators, or types. In these cases, 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
|
|
|
|
2002-09-19 04:38:59 +08:00
|
|
|
adddepend -
|
|
|
|
Add object dependency information to pre-7.3 objects.
|
|
|
|
by Rod Taylor <rbt@rbt.ca>
|
|
|
|
|
2006-05-30 20:07:31 +08:00
|
|
|
adminpack -
|
|
|
|
File and log manipulation routines, used by Pgadmin
|
|
|
|
by From: Dave Page <dpage@vale-housing.co.uk>
|
|
|
|
|
2006-05-30 20:27:39 +08:00
|
|
|
btree_gist -
|
|
|
|
Support for emulating BTREE indexing in GiST
|
|
|
|
by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru>
|
2001-08-23 02:27:54 +08:00
|
|
|
|
|
|
|
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-09-02 14:13:31 +08:00
|
|
|
by Joe Conway <mail@joeconway.com>
|
2002-06-24 06:15:04 +08:00
|
|
|
|
|
|
|
dbmirror -
|
|
|
|
Replication server
|
|
|
|
by Steven Singer <ssinger@navtechinc.com>
|
2002-02-23 07:05:35 +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
|
|
|
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
|
2002-09-02 14:13:31 +08:00
|
|
|
by Joe Conway <mail@joeconway.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
|
2004-06-01 13:15:47 +08:00
|
|
|
by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>
|
2001-01-16 06:20:00 +08:00
|
|
|
|
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
|
2004-06-01 13:15:47 +08:00
|
|
|
by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>
|
2002-07-31 00:40:34 +08:00
|
|
|
|
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
|
|
|
|
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>
|
|
|
|
|
2005-03-12 23:36:24 +08:00
|
|
|
pg_buffercache -
|
|
|
|
Real time queries on the shared buffer cache
|
|
|
|
by Mark Kirkwood <markir@paradise.net.nz>
|
|
|
|
|
2006-02-12 11:55:53 +08:00
|
|
|
pg_freespacemap -
|
|
|
|
Displays the contents of the free space map (FSM)
|
|
|
|
by Mark Kirkwood <markir@paradise.net.nz>
|
|
|
|
|
2004-06-01 13:15:47 +08:00
|
|
|
pg_trgm -
|
|
|
|
Functions for determining the similarity of text based on trigram
|
|
|
|
matching.
|
|
|
|
by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
pgbench -
|
|
|
|
TPC-B like benchmarking tool
|
2006-04-23 10:17:59 +08:00
|
|
|
by Tatsuo Ishii <ishii@sraoss.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
|
|
|
|
2006-04-23 10:17:59 +08:00
|
|
|
pgrowlocks -
|
|
|
|
A function to return row locking information
|
|
|
|
by Tatsuo Ishii <ishii@sraoss.co.jp>
|
|
|
|
|
2004-06-01 13:15:47 +08:00
|
|
|
pgstattuple -
|
|
|
|
A function to return statistics about "dead" tuples and free
|
|
|
|
space within a table
|
2006-04-23 10:17:59 +08:00
|
|
|
by Tatsuo Ishii <ishii@sraoss.co.jp>
|
2004-06-01 13:15:47 +08:00
|
|
|
|
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.
|
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 -
|
2002-08-29 06:05:46 +08: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-31 00:31:11 +08:00
|
|
|
by Joe Conway <mail@joeconway.com>
|
|
|
|
|
2005-07-30 03:38:22 +08:00
|
|
|
tips -
|
2000-09-19 04:11:37 +08:00
|
|
|
Getting Apache to log to PostgreSQL
|
|
|
|
by Terry Mackintosh <terry@terrym.com>
|
|
|
|
|
2003-07-25 00:54:58 +08:00
|
|
|
tsearch2 -
|
2001-10-13 07:19:09 +08:00
|
|
|
Full-text-index support using GiST
|
2004-06-01 13:15:47 +08:00
|
|
|
by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov
|
2001-10-13 07:19:09 +08:00
|
|
|
<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
|
|
|
|
2004-03-05 11:57:58 +08:00
|
|
|
xml2 -
|
2001-07-30 22:59:02 +08:00
|
|
|
Storing XML in PostgreSQL
|
2001-08-21 08:36:25 +08:00
|
|
|
by John Gray <jgray@azuli.co.uk>
|