List Info

Thread: Re: Patch to add read support for integer arrays




Re: Patch to add read support for integer arrays
country flaguser name
Germany
2008-03-21 23:12:52
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
PyGreSQLVex.Net
http
://mailman.vex.net/mailman/listinfo/pygresql

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )