Postgresql Select Data From Another Sqlite Python Insert