Postgres Array Remove Python Linux