Rancho BioSciences optimizations for PostgreSQL