A backend for workflow built over PostgreSQL