Fixed #23108 -- Dropped support for PostgreSQL 8.4 & PostGIS 1.3, 1.4.

I think we can even simplify to `if oracle or postgis:`