postgresql/contrib
Bruce Momjian b0f5086e41 oid is needed, it is added at the end of the struct (after the null
bitmap, if present).

Per Tom Lane's suggestion the information whether a tuple has an oid
or not is carried in the tuple descriptor.  For debugging reasons
tdhasoid is of type char, not bool.  There are predefined values for
WITHOID, WITHOUTOID and UNDEFOID.

This patch has been generated against a cvs snapshot from last week
and I don't expect it to apply cleanly to current sources.  While I
post it here for public review, I'm working on a new version against a
current snapshot.  (There's been heavy activity recently; hope to
catch up some day ...)

This is a long patch;  if it is too hard to swallow, I can provide it
in smaller pieces:

Part 1:  Accessor macros
Part 2:  tdhasoid in TupDesc
Part 3:  Regression test
Part 4:  Parameter withoid to heap_addheader
Part 5:  Eliminate t_oid from HeapTupleHeader

Part 2 is the most hairy part because of changes in the executor and
even in the parser;  the other parts are straightforward.

Up to part 4 the patched postmaster stays binary compatible to
databases created with an unpatched version.  Part 5 is small (100
lines) and finally breaks compatibility.

Manfred Koizar
2002-07-20 05:16:59 +00:00
..
array Change made to elog: 2002-03-06 06:10:59 +00:00
btree_gist Opclasses live in namespaces. I also took the opportunity to create 2002-04-17 20:57:57 +00:00
chkpass Fix warning 2001-12-19 18:49:24 +00:00
cube Opclasses live in namespaces. I also took the opportunity to create 2002-04-17 20:57:57 +00:00
dbase The result of getopt() should be compared to -1, not EOF, per 2002-01-10 01:11:45 +00:00
dblink Add dbmirror to /contrib. Minor C cleanups and Makefile. 2002-06-23 21:58:08 +00:00
dbmirror Add dbmirror to /contrib. Minor C cleanups and Makefile. 2002-06-23 21:58:08 +00:00
dbsize oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
earthdistance
findoidjoins Implement types regprocedure, regoper, regoperator, regclass, regtype 2002-04-25 02:56:56 +00:00
fulltextindex oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
fuzzystrmatch Make sure that all <ctype.h> routines are called with unsigned char 2001-12-30 23:09:42 +00:00
intagg Change made to elog: 2002-03-06 06:10:59 +00:00
intarray Please apply attached patch to contrib/intarray (7.2, 7.3). 2002-06-07 21:52:33 +00:00
ipc_check
isbn_issn Add comment for isbn,issn data type, from Pete St. Onge 2002-07-16 00:48:30 +00:00
lo Fix a lo_manage()'s bug. 2001-12-07 04:18:31 +00:00
mac
miscutil Restructure indexscan API (index_beginscan, index_getnext) per 2002-05-20 23:51:44 +00:00
mSQL-interface
mysql Update to my2pg 1.24. 2002-04-24 01:42:29 +00:00
noupdate Change made to elog: 2002-03-06 06:10:59 +00:00
oid2name Cleanup. 2002-07-05 00:29:34 +00:00
oracle Remove the last traces of datatypes datetime and timespan. 2002-05-03 04:11:08 +00:00
pg_controldata Contrib port/ usage is same as others so no need for rules. 2002-07-18 04:33:39 +00:00
pg_dumplo
pg_logger
pg_resetxlog Contrib port/ usage is same as others so no need for rules. 2002-07-18 04:33:39 +00:00
pg_upgrade Disable pg_upgrade for 7.3. 2002-07-03 14:38:19 +00:00
pgbench Apply patches from Neil Conway. 2002-07-20 03:02:01 +00:00
pgcrypto Change made to elog: 2002-03-06 06:10:59 +00:00
pgstattuple Restructure indexscan API (index_beginscan, index_getnext) per 2002-05-20 23:51:44 +00:00
reindexdb Rename command to reindexdb, for consistency. 2002-06-23 03:51:55 +00:00
retep
rserv oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
rtree_gist Fix a bug with building rtree_gist indexes. 2002-05-28 15:24:53 +00:00
seg Opclasses live in namespaces. I also took the opportunity to create 2002-04-17 20:57:57 +00:00
spi Remove the last traces of datatypes datetime and timespan. 2002-05-03 04:11:08 +00:00
start-scripts
string
tips Remove the last traces of datatypes datetime and timespan. 2002-05-03 04:11:08 +00:00
tools
tsearch Opclasses live in namespaces. I also took the opportunity to create 2002-04-17 20:57:57 +00:00
userlock
vacuumlo Update copyright to 2002. 2002-06-20 20:29:54 +00:00
xml Change made to elog: 2002-03-06 06:10:59 +00:00
contrib-global.mk
Makefile Link dbmirror into /contrib system. 2002-06-23 22:15:04 +00:00
README Link dbmirror into /contrib system. 2002-06-23 22:15:04 +00:00

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> 

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_controldata -
	Dump contents of pg_control (database master file)
	by Oliver Elphick <olly@lfix.co.uk>

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_resetxlog -
	Reset the WAL log (pg_xlog) to recover from crash or format change
	by Tom Lane <tgl@sss.pgh.pa.us>

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>

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>