close transaction when done
map PostgreSQL interval type to PGInterval