postgres/contrib
Bruce Momjian 2e2d17ed51 Here the latest version and first working release of Ora2Pg a tool to export
Oracle database to PostgreSQL.

    It currently dump the database schema (tables, views, sequences,
    indexes, grants), with primary, unique and foreign keys into PostgreSQL
    syntax without editing the SQL code generated. You can dump only a
    particular schema from the Oracle database.

    Functions, procedures and triggers with SQL or PLSQL code generated must
    be reviewed to match the PostgreSQL syntax. Some usefull recommandation
    on porting Oracle to PostgreSQL can be found at
http://techdocs.postgresql.org/
    under the "Converting from other Databases to PostgreSQL" Oracle part. I
just
    notice one thing more is that the trunc() function in Oracle is the same for
number
    or date so be carefull when porting to PostgreSQL to use trunc() for number
and
    date_trunc() for date.

I will add more precision in type NUMBER conversion based on length to match
as closest as possible all rich PostgreSQL numerics type. But it seems not to be

urgent as it seems that Oracle DBAs only create number with length 22 (default)
Space seems not to be their problem...

Gilles DAROLD
2001-06-23 02:56:23 +00:00
..
array The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
chkpass Further conversions to Version 1 API. Also, fix boolean return to use 2001-05-30 02:11:46 +00:00
cube The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
dbase Adjust WAL code so that checkpoints truncate the xlog at the previous 2001-06-06 17:07:46 +00:00
dblink Attached is a patch to deal with the ones that I missed the first time 2001-06-20 00:04:44 +00:00
earthdistance The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
findoidjoins pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
fulltextindex The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
intarray The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +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 The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
lo The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
mac Move contrib/odbc/odbc.sql together with odbc driver, remove old files; 2000-09-18 20:11:37 +00:00
metaphone Attached is a patch to deal with the ones that I missed the first time 2001-06-20 00:04:44 +00:00
miscutil The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
mSQL-interface Make sure -L and -I's for our source tree are always before system include 2001-02-20 19:20:30 +00:00
mysql Update my2pg, new version. 2001-03-06 22:46:50 +00:00
noupdate The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
oid2name The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
oracle Here the latest version and first working release of Ora2Pg a tool to export 2001-06-23 02:56:23 +00:00
pg_controldata Provide snprintf() if system hasn't got it. 2001-04-03 19:06:19 +00:00
pg_dumplo Remove dashes in comments that don't need them, rewrap with pgindent. 2001-03-22 06:16:21 +00:00
pg_logger pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pg_resetxlog Adjust WAL code so that checkpoints truncate the xlog at the previous 2001-06-06 17:07:46 +00:00
pgbench Make sure -L and -I's for our source tree are always before system include 2001-02-20 19:20:30 +00:00
pgcrypto The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
retep Fix 'make clean' with jdbc and ant by using filesets. 2001-05-17 03:22:53 +00:00
rserv The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
rtree_gist Attached is a patch to deal with the ones that I missed the first time 2001-06-20 00:04:44 +00:00
seg The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
soundex The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
spi Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's to 2001-04-04 21:15:56 +00:00
start-scripts Pass -D option to pg_ctl because export PGDATA won't be preserved across 2001-04-19 19:17:44 +00:00
string The attached patch enables the contrib subtree to build cleanly under 2001-06-18 21:38:02 +00:00
tips Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
tools Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
unixdate Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
userlock Add support to lock manager for conditionally locking a lock (ie, 2001-06-22 00:04:59 +00:00
vacuumlo pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
Makefile Add new dblink to /contrib Makefile.' 2001-06-18 17:20:56 +00:00
README Allow remote query execution (dblink) 2001-06-14 16:49:03 +00:00

The PostgreSQL contrib tree
~~~~~~~~~~~~~~~~~~~~~~~~~~~

This subtree contains tools, modules, and examples that are not
maintained as part of the core PostgreSQL system, mainly because
they only address a limited audience or are too inelegant to be
sold as an official feature.  That, however, 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>

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

dbase -
	Converts from dbase/xbase to PostgreSQL
	by Ivan Baldo, lubaldo@adinet.com.uy

dblink -
	Allows remote query execution
	by  Joe Conway, joe.conway@mail.com

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>

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>

metaphone -
	Improved Soundex function
	by Joel Burton <jburton@scw.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>

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

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

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>

soundex -
	Soundex function

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>

unixdate -
	Conversions from integer to datetime
	by Thomas Lockhart <lockhart@alumni.caltech.edu>

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

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