postgresql connect
postgresql doDB()
postgresql readDB() and close()