Added stuff to postgresql