Interface to SQL databases, currently only postgresql using libpq.
