Changes made after a tough first contact with Postgresql