compatbility with PostgreSQL