PostgreSQL lower function.