postgresql/contrib
Bruce Momjian a12b4e279b I checked all the previous string handling errors and most of them were
already fixed by You. However there were a few left and attached patch
should fix the rest of them.

I used StringInfo only in 2 places and both of them are inside debug
ifdefs. Only performance penalty will come from using strlen() like all
the other code does.

I also modified some of the already patched parts by changing
snprintf(buf, 2 * BUFSIZE, ... style lines to
snprintf(buf, sizeof(buf), ... where buf is an array.

Jukka Holappa
2002-09-02 06:11:43 +00:00
..
array Modify array operations to include array's element type OID in the 2002-08-26 17:54:02 +00:00
btree_gist Update contrib regression tests for OPAQUE datatype changes. 2002-08-23 00:04:52 +00:00
chkpass chkpass_rout returns text so change PG_RETURN_CSTRING to PG_RETURN_TEXT_P. 2002-08-29 12:18:20 +00:00
cube I checked all the previous string handling errors and most of them were 2002-09-02 06:11:43 +00:00
dbase The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
dblink Modify array operations to include array's element type OID in the 2002-08-26 17:54:02 +00:00
dbmirror Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
dbsize Code review for standalone composite types, query-specified composite 2002-08-29 00:17:06 +00:00
earthdistance To fix the perpetually broken makefiles in the contrib tree, I have 2001-09-06 10:49:30 +00:00
findoidjoins The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
fulltextindex Code review for HeapTupleHeader changes. Add version number to page headers 2002-09-02 01:05:06 +00:00
fuzzystrmatch Make sure that all <ctype.h> routines are called with unsigned char 2001-12-30 23:09:42 +00:00
intagg PL/pgSQL functions can return sets. Neil Conway's patch, modified so 2002-08-30 00:28:41 +00:00
intarray I checked all the previous string handling errors and most of them were 2002-09-02 06:11:43 +00:00
ipc_check start of an admin tool for FreeBSD to help configure shared memory for 2001-02-27 15:37:39 +00:00
isbn_issn Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
lo Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
ltree Modify array operations to include array's element type OID in the 2002-08-26 17:54:02 +00:00
mSQL-interface The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
mac Move contrib/odbc/odbc.sql together with odbc driver, remove old files; 2000-09-18 20:11:37 +00:00
miscutil Restructure indexscan API (index_beginscan, index_getnext) per 2002-05-20 23:51:44 +00:00
mysql Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
noupdate Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
oid2name The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
oracle Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
pg_dumplo The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
pg_logger New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
pg_upgrade Make pg_resetxlog options parsing more standard and prepare messages for 2002-08-29 22:19:03 +00:00
pgbench The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
pgcrypto Change made to elog: 2002-03-06 06:10:59 +00:00
pgstattuple Adjust nodeFunctionscan.c to reset transient memory context between calls 2002-08-29 17:14:33 +00:00
reindexdb Rename command to reindexdb, for consistency. 2002-06-23 03:51:55 +00:00
retep Resolve a number of oddities in the Java build. First, remove the weird 2001-07-06 23:07:20 +00:00
rserv Code review for HeapTupleHeader changes. Add version number to page headers 2002-09-02 01:05:06 +00:00
rtree_gist Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
seg I checked all the previous string handling errors and most of them were 2002-09-02 06:11:43 +00:00
spi I checked all the previous string handling errors and most of them were 2002-09-02 06:11:43 +00:00
start-scripts Patch to add comments to Linux startup script. 2001-07-30 14:52:42 +00:00
string Add a bunch of pseudo-types to replace the behavior formerly associated 2002-08-22 00:01:51 +00:00
tablefunc Attached is an update to contrib/tablefunc. It introduces a new 2002-09-02 05:44:05 +00:00
tips Remove the last traces of datatypes datetime and timespan. 2002-05-03 04:11:08 +00:00
tools Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
tsearch please apply small patch for README.tsearch. 2002-08-29 19:55:26 +00:00
userlock pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
vacuumlo The attached patch changes most of the usages of sprintf() to 2002-08-15 02:58:29 +00:00
xml Change made to elog: 2002-03-06 06:10:59 +00:00
Makefile intagg subdirectory was missing. 2002-08-30 01:44:00 +00:00
README Improve description of tablefunc. 2002-08-28 22:05:46 +00:00
contrib-global.mk Install dynamically loadable modules into a private subdirectory 2001-09-16 16:11:11 +00:00

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.  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:
------

array -
	Array iterator functions
	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@stack.net>

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 <joe.conway@mail.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 <joseph.conway@home.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@stack.net> 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@stack.net> 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_dumplo -
	Dump large objects
	by Karel Zak <zakkr@zf.jcu.cz>

pg_logger -
	Stdin-to-syslog gateway for PostgreSQL
	by Nathan Myers <ncm@nospam.cantrip.org>

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>

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

pgstattuple -
	A function returns the percentage of "dead" tuples in a table
	by Tatsuo Ishii <t-ishii@sra.co.jp>

retep -
	Tools to build retep tools packages
	by Peter T Mount <peter@retep.org.uk>

rserv -
	Replication server
	by Vadim B. Mikheev <vadim4o@email.com>

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

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
	by Teodor Sigaev <teodor@stack.net> 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
	by John Gray <jgray@azuli.co.uk>