InformixDatabase returns the wrong type for getNumberType()

It looks like this problem is not restricted to Informix:

…so I opened (and fixed)

I am testing out the fix locally and then will patch at least to use NUMERIC instead of NUMBER.  Postgres I’ll leave to someone else.


Unless I’m missing something, it looks like the InformixDatabase returns a simple new NumberType() for the results of getNumberType().  The documentation here:

…indicates that NUMBER is not a valid data type in Informix.

Shouldn’t this be NUMERIC instead?