- patch to add support for PostgreSQL (SQL code sometimes not compatible with
  PostgreSQL)
