Update postgres templates (PR #472)

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/postgresql-error-while-rebuilding/157830/7