postgreSQL middleware for easy-fixture