antoniop
committed
on 02 Jan
Reduce divergency between oracle and postgres codebase, resolve ancient TODOs, reinstate lost query