Added templates for Postgres (basically copies of the MySql templates, so they might be horribly wrong)
Tweaks and corrections (especially for Postgres ... still working on it)