php, mysql, postgres additions