script to upload vectors to postgresql database. omg this was a chore!