The canonical source for oracle and postgres drivers is
aolserver.com.
I applied and committed that change.
I have used a version of the driver with that change for some
time with no apparent problems (although it should be pointed
out that other than munging around in the data dictionary
LONGs are not used in openacs, so that's not that telling).