summaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2001-07-06Resolve a number of oddities in the Java build. First, remove the weirdPeter Eisentraut
redirections between the build files, which didn't work completely. Now you just go to the directory of your choice and run make. Clean up the build files to have a logical order, fix the unnecessary rebuilds, prevent the deleting targets from removing files they're not responsible for. Ant 1.3 does not have a bug. It deletes directories just fine if you follow the documentation.
2001-06-23Here the latest version and first working release of Ora2Pg a tool to exportBruce Momjian
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-22Add support to lock manager for conditionally locking a lock (ie,Tom Lane
return without waiting if we can't get the lock immediately). Not used yet, but will be needed for concurrent VACUUM.
2001-06-20Attached is a patch to deal with the ones that I missed the first timeBruce Momjian
around. I tested this patch under Cygwin and Linux. Note that I only changed dblink's Makefile in the most minimal way to fix the link problem under Cygwin (i.e., use the link rule from Makefile.shlib instead). dblink's Makefile should probably be further patched to be consistent with the other PostgreSQL Makefiles. Jason Tishler
2001-06-18The attached patch enables the contrib subtree to build cleanly underBruce Momjian
Cygwin with the possible exception of mSQL-interface. Since I don't have mSQL installed, I skipped this tool. Except for dealing with a missing getopt.h (oid2name) and HUGE (seg), the bulk of the patch uses the standard PostgreSQL approach to deal with Windows DLL issues. I tested the build aspect of this patch under Cygwin and Linux without any ill affects. Note that I did not actually attempt to test the code for functionality. The procedure to apply the patch is as follows: $ # save the attachment as /tmp/contrib.patch $ # change directory to the top of the PostgreSQL source tree $ patch -p0 </tmp/contrib.patch Jason
2001-06-18Here's a small patch for dblink:Bruce Momjian
- fixed dblink invalid pointer causing corrupt elog message - fixed dblink_tok improper handling of null results - fixed examples in README.dblink Joe Conway
2001-06-18Add new dblink to /contrib Makefile.'Bruce Momjian
2001-06-14Allow remote query execution (dblink)Bruce Momjian
Joe Conway
2001-06-11contrib/intarray updates from Oleg Bartunov:Tom Lane
it's reimplemented to use function interface version 1 and special treating of degenerated signatures.
2001-06-06Adjust WAL code so that checkpoints truncate the xlog at the previousTom Lane
checkpoint's redo pointer, not its undo pointer, per discussion in pghackers a few days ago. No point in hanging onto undo information until we have the ability to do something with it --- and this solves a rather large problem with log space for long-running transactions. Also, change all calls of write() to detect the case where write returned a count less than requested, but failed to set errno. Presume that this situation indicates ENOSPC, and give the appropriate error message, rather than a random message associated with the previous value of errno.
2001-05-31Ooops, forgot to commit Makefile along with other changes.Tom Lane
2001-05-31Support for emulating RTREE indexing in GiST. Contributed byTom Lane
Oleg Bartunov and Teodor Sigaev.
2001-05-31Updates to make GIST work with multi-key indexes (from Oleg BartunovTom Lane
and Teodor Sigaev). Declare key values as Datum where appropriate, rather than char* (Tom Lane).
2001-05-30Remove SEP_CHAR from /contrib.Bruce Momjian
2001-05-30Playing with the earthdistance stuff, and found I needed the followingBruce Momjian
patch: Larry Rosenman
2001-05-30Further conversions to Version 1 API. Also, fix boolean return to useD'Arcy J.M. Cain
PG_RETURN_BOOL(0) instead of return 0.
2001-05-28Upgraded code to use the current version 1 calling conventions.D'Arcy J.M. Cain
2001-05-27Changed use of macros for extracting information. According to commentsD'Arcy J.M. Cain
in c.h we should be using the visible structure. We should only see de-TOASTed values in this program. The old method refused to compile because the length macro was no longer an lvalue.
2001-05-17Fix 'make clean' with jdbc and ant by using filesets.Bruce Momjian
2001-05-16Add NUMERIC tests to jdbc code.Bruce Momjian
David Esposito
2001-05-16Backpatch jdbc2 fixes to jdbc1, ANT fixes, from Peter EisentrautBruce Momjian
2001-05-15Well, the correct code - that corresponds to currentBruce Momjian
encode - is below. I even got the linefeed stuff wrong. -- marko
2001-05-13> I've been experimenting with pgcrypto 0.3 (distributed withBruce Momjian
> Postgres 7.1.0), and I think I've found a bug. > > I compiled Pgcrypto with OpenSSL, using gcc 2.95.4 and > OpenSSL 0.9.6a (the latest Debian 'unstable' packages). > web=> select encode(digest('blah', 'sha1'), 'base64'); > FATAL 1: pg_encode: overflow, encode estimate too small > pqReadData() -- backend closed the channel unexpectedly. > This probably means the backend terminated abnormally > before or while processing the request. > The connection to the server was lost. Attempting reset: Succeeded. > Is this a bug? Can it be fixed? This is a bug alright. And a silly one :) Marko Kreen
2001-05-13Update to ora2pg 1.2.Bruce Momjian
2001-05-10Add mention in README of Oracle.Bruce Momjian
2001-05-10Add oracle conversion utility ora2pg in /contrib/oracle.Bruce Momjian
2001-05-10Add dbase conversion utility to /contrib.Bruce Momjian
2001-05-09This directory contains a module that implements the "Metaphone" code asBruce Momjian
a PostgreSQL user-defined function. The Metaphone system is a method of matching similar sounding names (or any words) to the same code. Metaphone was invented by Lawrence Philips as an improvement to the popular name-hashing routine, Soundex. This metaphone code is from Michael Kuhn, and is detailed at http://aspell.sourceforge.net/metaphone/metaphone-kuhn.txt Joel Burton
2001-05-03Initial checkin of a contributed type that handles passwords efficiently.D'Arcy J.M. Cain
2001-04-19Pass -D option to pg_ctl because export PGDATA won't be preserved acrossPeter Eisentraut
'su -l'. Reported by <VASQUEZ_JASON@LILLY.COM>.
2001-04-04Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's toTom Lane
Jason Tishler's credit, if it's broken it's my fault ...
2001-04-03Provide snprintf() if system hasn't got it.Tom Lane
2001-03-23Fix comments that were mis-wrapped, for Tom Lane.Bruce Momjian
2001-03-22Run pgindent on _int.c, for Tom Lane. I had skipped this file becauseBruce Momjian
of a complex macro that pgindent complained about. Hand-adjusted macro for pgindent run.
2001-03-22Remove dashes in comments that don't need them, rewrap with pgindent.Bruce Momjian
2001-03-22pgindent run. Make it all clean.Bruce Momjian
2001-03-20Repair intarray's problems with TOASTed input, avoid scribbling onTom Lane
source data, improve split algorithm for intbig_ops. Oleg Bartunov with some kibitzing from Tom Lane.
2001-03-18Restore include-file updates, and fix some of the more glaring macroTom Lane
sloppiness (insufficient parenthesization, etc). It still fails regress test for me, however.
2001-03-18Restore Peter's makefile fixes.Tom Lane
2001-03-17Update contrib intarray to Jan 25 version.Bruce Momjian
2001-03-16Documentation update from Marko Kreen.Tom Lane
2001-03-16Resetting the XLOG can't include rewinding it to logical position zero,Tom Lane
because we need page LSNs stored in the main database to be less than the current XLOG position. Hence, generate the new XLOG segment at last old segment number plus one.
2001-03-14First cut at XLOG file reset utility.Tom Lane
Could do with more testing, but it works in the simple cases.
2001-03-13'test -e' isn't portable. Use 'test -f'.Peter Eisentraut
2001-03-13Update for new pg_control format.Tom Lane
2001-03-11Add uninstall target to Java build.Peter Eisentraut
Respect default port setting in JDBC driver. Pick up version number from Makefile.global. Change installation directory to share/java/. Document.
2001-03-06Update my2pg, new version.Bruce Momjian
2001-03-05Hmmm, a conflict with V1.104 of configure.in remained and broke configurePeter Mount
(said redirection required when run). After checking using cvsweb, removed the offending conflict. Rebuilt configure using autoconf, and it now works fine.
2001-03-05First batch of the tools merged in...Peter Mount
2001-03-04Update mysql converter, new version released.Bruce Momjian