postgresql.pyconf is a template not a file

Also update tests

Change-Id: I34545aa6bbc8db8c1bd23e1dedae0ca1e3b41444