antoniop
committed
on 15 Nov 17
Reduce divergence between oracle and postgres codebase, optimize queries