postgresql/contrib
Tom Lane 4c3f3716cc Fix several datatype input functions that were allowing unused bytes in their
results to contain uninitialized, unpredictable values.  While this was okay
as far as the datatypes themselves were concerned, it's a problem for the
parser because occurrences of the "same" literal might not be recognized as
equal by datumIsEqual (and hence not by equal()).  It seems sufficient to fix
this in the input functions since the only critical use of equal() is in the
parser's comparisons of ORDER BY and DISTINCT expressions.
Per a trouble report from Marc Cousin.

Patch all the way back.  Interestingly, array_in did not have the bug before
8.2, which may explain why the issue went unnoticed for so long.
2008-04-11 22:53:24 +00:00
..
adddepend
array
btree_gist workaround for bug in utils/date.h (timetz) 2005-04-27 13:01:27 +00:00
chkpass Make sure contrib C functions are marked strict where needed. 2005-01-29 22:35:17 +00:00
cube Back-port several small portability fixes to get contrib building 2005-08-02 01:35:23 +00:00
dbase Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
dblink The original patch to disallow non-passworded connections to non-superusers 2008-01-03 21:28:42 +00:00
dbmirror Fix dbmirror for new backslash escaping: 2006-07-06 02:03:00 +00:00
dbsize Fix a number of places that were making file-type tests infelicitously. 2008-03-31 01:33:13 +00:00
earthdistance Fix missed \' to '' conversion. 2006-05-21 21:13:50 +00:00
findoidjoins Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
fulltextindex
fuzzystrmatch Mark the text_soundex() function as "strict", to avoid crashing on NULL 2005-01-26 08:08:04 +00:00
intagg int_array_enum function should be using fcinfo->flinfo->fn_extra for 2005-08-15 19:05:30 +00:00
intarray Detoast query in g_intbig_consistent and copy query in g_int_consistent. 2006-04-03 10:45:28 +00:00
ipc_check
isbn_issn Make sure contrib C functions are marked strict where needed. 2005-01-29 22:35:17 +00:00
lo Make sure contrib C functions are marked strict where needed. 2005-01-29 22:35:17 +00:00
ltree Fix several datatype input functions that were allowing unused bytes in their 2008-04-11 22:53:24 +00:00
mac
miscutil Make sure contrib C functions are marked strict where needed. 2005-01-29 22:35:17 +00:00
mSQL-interface Consistently use geteuid() not getuid(); there were a few places deviating 2005-01-08 22:51:15 +00:00
mysql
noupdate
oid2name Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
oracle Triggers should return TRIGGER not OPAQUE. Looks like this script got 2004-12-30 00:30:40 +00:00
pg_autovacuum Prevent core dump in contrib version of autovacuum when a table has been 2005-10-20 16:14:39 +00:00
pg_dumplo Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
pg_trgm
pg_upgrade
pgbench Back port patch. 2007-01-13 03:17:34 +00:00
pgcrypto Fix combo_decrypt() to throw an error for zero-length input when using a 2007-08-23 16:16:11 +00:00
pgstattuple
reindexdb
rtree_gist
seg backport workaround for OpenBSD compiler bug 2006-06-17 14:50:44 +00:00
spi
start-scripts
string
tablefunc Have crosstab variants treat NULL rowid as a category in its own right, 2007-11-10 05:02:04 +00:00
tips
tools
tsearch Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4, 2006-05-21 19:57:40 +00:00
tsearch2 Backpatch: Fix tsvector_out() and tsquery_out() to escape backslesh, add test of that. 2007-11-16 17:17:52 +00:00
userlock Make sure contrib C functions are marked strict where needed. 2005-01-29 22:35:17 +00:00
vacuumlo Have libpgport link before libpq so that PG client applications are more 2005-03-25 18:18:41 +00:00
xml
xml2 Fix core dump in contrib/xml2's xpath_table() when the input query returns 2008-03-26 01:19:31 +00:00
contrib-global.mk
Makefile
README

The PostgreSQL contrib tree
---------------------------

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.

Each subdirectory contains a README file with information about the
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.  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,

	$ psql -d dbname -f module.sql

See the PostgreSQL documentation for more information about this
procedure.


Index:
------

adddepend -
	Add object dependency information to pre-7.3 objects.
	by Rod Taylor <rbt@rbt.ca>

array -
	Array iterator functions (now obsolete due to backend improvements)
	by Massimo Dal Zotto <dz@cs.unitn.it>

btree_gist -
	Support for emulating BTREE indexing in GiST
	by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru>

chkpass -
	An auto-encrypted password datatype
	by D'Arcy J.M. Cain <darcy@druid.net>

cube -
	Multidimensional-cube datatype (GiST indexing example)
	by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>

dbase -
	Converts from dbase/xbase to PostgreSQL
	by Maarten.Boekhold <Maarten.Boekhold@reuters.com>,
	   Frank Koormann <fkoorman@usf.uni-osnabrueck.de>,
	   Ivan Baldo <lubaldo@adinet.com.uy>

dblink -
	Allows remote query execution
	by Joe Conway <mail@joeconway.com>

dbmirror -
	Replication server
	by Steven Singer <ssinger@navtechinc.com>

dbsize -
	Reports database and table disk space
	by Peter Eisentraut <peter_e@gmx.net>

earthdistance -
	Operator for computing earth distance for two points
	by Hal Snyder <hal@vailsys.com>

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>

fulltextindex -
	Full text indexing using triggers
	by Maarten Boekhold <maartenb@dutepp0.et.tudelft.nl>

fuzzystrmatch -
	Levenshtein, metaphone, and soundex fuzzy string matching
	by Joe Conway <mail@joeconway.com>, Joel Burton <jburton@scw.org>

intagg -
	Integer aggregator
	by mlw <markw@mohawksoft.com>

intarray -
	Index support for arrays of int4, using GiST
	by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>

ipc_check -
	Simple test script to help in configuring IPC.
	FreeBSD only, for now.

isbn_issn -
	PostgreSQL type extensions for ISBN (books) and ISSN (serials)
	by Garrett A. Wollman <wollman@khavrinen.lcs.mit.edu>

lo -
	Large Object maintenance
	by Peter Mount <peter@retep.org.uk> 

ltree -
	Tree-like data structures
	by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov <oleg@sai.msu.su>

mSQL-interface -
	mSQL API translation library
	by Aldrin Leal <aldrin@americasnet.com>

mac -
	Support functions for MAC address types
	by Lawrence E. Rosenman <ler@lerctr.org>

miscutil -
	PostgreSQL assert checking and various utility functions
	by Massimo Dal Zotto <dz@cs.unitn.it>

mysql -
	Utility to convert MySQL schema dumps to SQL92 and PostgreSQL
	by Thomas Lockhart <lockhart@alumni.caltech.edu>
	   Max Rudensky <fonin@ziet.zhitomir.ua>
	   Valentine Danilchuk <valdan@ziet.zhitomir.ua>

noupdate -
	Trigger to prevent updates on single columns

oid2name - 
	Maps numeric files to table names
	by B Palmer <bpalmer@crimelabs.net>

oracle -
	Converts Oracle database schema to PostgreSQL
	by Gilles Darold <gilles@darold.net>

pg_autovacuum -
	Automatically performs vacuum
	by Matthew T. O'Connor <matthew@zeut.net>

pg_dumplo -
	Dump large objects
	by Karel Zak <zakkr@zf.jcu.cz>

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>

pg_upgrade -
	Upgrade from previous PostgreSQL version without pg_dump/reload
	by Bruce Momjian <pgman@candle.pha.pa.us>

pgbench -
	TPC-B like benchmarking tool
	by Tatsuo Ishii <t-ishii@sra.co.jp>

pgcrypto -
	Cryptographic functions
	by Marko Kreen <marko@l-t.ee>

pgstattuple -
	A function to return statistics about "dead" tuples and free
	space within a table
	by Tatsuo Ishii <t-ishii@sra.co.jp>

reindexdb - 
	Reindexes a database
	by Shaun Thomas <sthomas@townnews.com>

rtree_gist -
	Support for emulating RTREE indexing in GiST
	by Oleg Bartunov <oleg@sai.msu.su> and Teodor Sigaev <teodor@sigaev.ru>

seg -
	Confidence-interval datatype (GiST indexing example)
	by Gene Selkov, Jr. <selkovjr@mcs.anl.gov>

spi -
	Various trigger functions, examples for using SPI.

start-scripts - 
	Scripts for starting the server at boot time.
	
string -
	C-like input/output conversion routines for strings
	by Massimo Dal Zotto <dz@cs.unitn.it>

tablefunc -
	Examples of functions returning tables
	by Joe Conway <mail@joeconway.com>

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>

tsearch -
	Full-text-index support using GiST (obsolete version)
	by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov
	<oleg@sai.msu.su>.

tsearch2 -
	Full-text-index support using GiST
	by Teodor Sigaev <teodor@sigaev.ru> and Oleg Bartunov
	<oleg@sai.msu.su>.

userlock -
	User locks
	by Massimo Dal Zotto <dz@cs.unitn.it>

vacuumlo -
	Remove orphaned large objects
	by Peter T Mount <peter@retep.org.uk>

xml -
	Storing XML in PostgreSQL (obsolete version)
	by John Gray <jgray@azuli.co.uk>

xml2 -
	Storing XML in PostgreSQL
	by John Gray <jgray@azuli.co.uk>