Johan,
Try the link below for a sample project clip which you should customise
for PostgreSQL. If you need further assistance feel free to contact me.
http://www.shepherdhill.biz/downloads/image.zip
Cheers.
Tope Akinniyi
CEO
ShepherdHill Software
Lagos, Nigeria