My code from my JavaZone 2014 lighting talk: "PostgreSQL som MQ"