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