[PyGreSQL] Patch to add read support for integer arrays
Christoph Zwerschke
cito at online.de
Sat Mar 22 00:12:52 EDT 2008
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
More information about the PyGreSQL
mailing list