From http://doc.powerdns.com/html/generic-mypgsql-backends.html