Postgresql Run Script From Ipython