Postgres Select Ids Into Array Initialization Python Download