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
|
|
|
|
2007-11-14 05:10:40 +08:00
|
|
|
User documentation for each module appears in the main SGML documentation.
|
|
|
|
|
|
|
|
Most items can be built with `gmake all' and installed with
|
2002-02-22 08:10:11 +08:00
|
|
|
`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
|
|
|
|
2006-05-30 20:07:31 +08:00
|
|
|
adminpack -
|
2006-05-30 21:25:57 +08:00
|
|
|
File and log manipulation routines, used by pgAdmin
|
2006-09-06 01:20:29 +08:00
|
|
|
by Dave Page <dpage@vale-housing.co.uk>
|
2006-05-30 20:07:31 +08:00
|
|
|
|
2010-11-27 20:22:25 +08:00
|
|
|
auth_delay
|
|
|
|
Add a short delay after a failed authentication attempt, to make
|
2011-01-22 08:27:25 +08:00
|
|
|
brute-force attacks on database passwords a bit harder.
|
2010-11-27 20:22:25 +08:00
|
|
|
by KaiGai Kohei <kaigai@ak.jp.nec.com>
|
|
|
|
|
2008-11-19 10:59:28 +08:00
|
|
|
auto_explain -
|
|
|
|
Log EXPLAIN output for long-running queries
|
|
|
|
by Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
|
|
|
|
|
2009-03-26 07:20:01 +08:00
|
|
|
btree_gin -
|
|
|
|
Support for emulating BTREE indexing in GIN
|
|
|
|
by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru>
|
|
|
|
|
2006-05-30 20:27:39 +08:00
|
|
|
btree_gist -
|
2007-10-16 05:36:50 +08:00
|
|
|
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>
|
|
|
|
|
2008-07-30 02:31:20 +08:00
|
|
|
citext -
|
|
|
|
A case-insensitive character string datatype
|
|
|
|
by David E. Wheeler <david@kineticode.com>
|
|
|
|
|
2000-12-12 04:40:59 +08:00
|
|
|
cube -
|
|
|
|
Multidimensional-cube datatype (GiST indexing example)
|
|
|
|
by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>
|
|
|
|
|
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
|
|
|
|
2007-10-16 05:36:50 +08:00
|
|
|
dict_int -
|
|
|
|
Text search dictionary template for integers
|
|
|
|
by Sergey Karpov <karpov@sao.ru>
|
|
|
|
|
|
|
|
dict_xsyn -
|
|
|
|
Text search dictionary template for extended synonym processing
|
|
|
|
by Sergey Karpov <karpov@sao.ru>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
earthdistance -
|
2007-12-05 07:45:01 +08:00
|
|
|
Functions for computing distances between two points on Earth
|
2011-01-22 08:27:25 +08:00
|
|
|
by Bruno Wolff III <bruno@wolff.to> and Hal Snyder <hal@vailsys.com>
|
1998-08-11 10:32:00 +08:00
|
|
|
|
2011-02-21 03:06:59 +08:00
|
|
|
file_fdw
|
|
|
|
Foreign-data wrapper for server-side CSV/TEXT files
|
|
|
|
by Shigeru Hanada <hanada@metrosystems.co.jp>
|
|
|
|
|
2001-08-08 00:47:43 +08:00
|
|
|
fuzzystrmatch -
|
2001-08-08 02:18:33 +08:00
|
|
|
Levenshtein, metaphone, and soundex fuzzy string matching
|
2007-12-05 07:45:01 +08:00
|
|
|
by Joe Conway <mail@joeconway.com> and Joel Burton <jburton@scw.org>
|
2006-09-06 02:00:58 +08:00
|
|
|
|
|
|
|
hstore -
|
2007-10-16 05:36:50 +08:00
|
|
|
Module for storing (key, value) pairs
|
|
|
|
by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru>
|
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
|
|
|
|
2006-09-09 12:07:52 +08:00
|
|
|
isn -
|
|
|
|
PostgreSQL type extensions for ISBN, ISSN, ISMN, EAN13 product numbers
|
2011-06-01 04:10:05 +08:00
|
|
|
by Germán Méndez Bravo (Kronuz) <kronuz@hotmail.com>
|
2000-04-17 02:41:30 +08:00
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
lo -
|
|
|
|
Large Object maintenance
|
2010-11-24 04:27:50 +08:00
|
|
|
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
|
|
|
|
2010-11-24 04:27:50 +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>
|
|
|
|
|
2007-05-18 03:11:25 +08:00
|
|
|
pageinspect -
|
|
|
|
Allows inspection of database pages
|
|
|
|
Heikki Linnakangas <heikki@enterprisedb.com>
|
|
|
|
|
2009-11-19 05:57:56 +08:00
|
|
|
passwordcheck -
|
|
|
|
Simple password strength checker
|
|
|
|
Laurenz Albe <laurenz.albe@wien.gv.at>
|
|
|
|
|
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>
|
|
|
|
|
2007-10-16 05:36:50 +08:00
|
|
|
pg_standby -
|
|
|
|
Sample archive_command for warm standby operation
|
|
|
|
by Simon Riggs <simon@2ndquadrant.com>
|
|
|
|
|
2009-01-05 06:19:59 +08:00
|
|
|
pg_stat_statements -
|
|
|
|
Track statement execution times across a whole database cluster
|
|
|
|
by Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
|
|
|
|
|
2011-01-22 08:27:25 +08:00
|
|
|
pg_test_fsync -
|
|
|
|
Test different wal_sync_method settings
|
|
|
|
by Bruce Momjian <bruce@momjian.us>
|
|
|
|
|
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>
|
|
|
|
|
2010-05-13 00:50:58 +08:00
|
|
|
pg_upgrade -
|
|
|
|
Support for in-place upgrade between major releases of PostgreSQL
|
|
|
|
Bruce Momjian <bruce@momjian.us> and others
|
|
|
|
|
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 -
|
2007-10-16 05:36:50 +08:00
|
|
|
Functions to return statistics about "dead" tuples and free
|
2004-06-01 13:15:47 +08:00
|
|
|
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>
|
|
|
|
|
2011-01-24 09:44:48 +08:00
|
|
|
sepgsql -
|
|
|
|
External security provider using SELinux
|
|
|
|
by KaiGai Kohei <kaigai@ak.jp.nec.com>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
spi -
|
|
|
|
Various trigger functions, examples for using SPI.
|
1999-06-06 04:07:54 +08:00
|
|
|
|
2006-09-06 01:20:29 +08:00
|
|
|
sslinfo -
|
|
|
|
Functions to get information about SSL certificates
|
|
|
|
by Victor Wagner <vitus@cryptocom.ru>
|
|
|
|
|
2010-11-24 04:27:50 +08:00
|
|
|
start-scripts -
|
2007-10-16 05:36:50 +08:00
|
|
|
Scripts for starting the server at boot time on various platforms.
|
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>
|
|
|
|
|
2007-10-16 05:36:50 +08:00
|
|
|
test_parser -
|
|
|
|
Sample text search parser
|
|
|
|
by Sergey Karpov <karpov@sao.ru>
|
|
|
|
|
2003-07-25 00:54:58 +08:00
|
|
|
tsearch2 -
|
2007-11-14 05:10:40 +08:00
|
|
|
Compatibility package for the pre-8.3 implementation of text search.
|
|
|
|
Pavel Stehule <pavel.stehule@gmail.com>, based on code originally by
|
|
|
|
Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>.
|
2001-10-13 07:19:09 +08:00
|
|
|
|
2009-08-18 18:34:39 +08:00
|
|
|
unaccent -
|
|
|
|
Unaccent dictionary for text search
|
|
|
|
Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>.
|
|
|
|
|
2007-04-22 01:26:18 +08:00
|
|
|
uuid-ossp -
|
|
|
|
UUID generation functions
|
|
|
|
by Peter Eisentraut <peter_e@gmx.net>
|
|
|
|
|
2000-09-19 04:11:37 +08:00
|
|
|
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>
|