Added lowercase mode for postgres database.