As long as you only handle arrays of ints, things are pretty safe. But Postgres arrays can also contain strings (and other types) which make this dangerous. Also, you would need to insert the correct quotes which is at least as more complicated as parsing the array by hand. So eval() would be of no use here anyway.
-- Christoph _______________________________________________ PyGreSQL mailing list [email protected] http://mailman.vex.net/mailman/listinfo/pygresql
