donb
committed
on 02 Mar 02

Fixed this stuff so it works with Oracle and Postgres both, sharing as much
code as possible (or at least as I can make possible).