Re: [GENERAL] passing an array type to a plpython procedure

2007-03-11 Thread Tom Lane
Rajarshi Guha <[EMAIL PROTECTED]> writes: > ... I found this posting > (http://www.thescripts.com/forum/thread399934.html) from 2005, which > indicates that a pl/Python procedure will not see an array type as array > but rather as a string. > Has this aspect been updated? AFAICS, plpython still d

[GENERAL] passing an array type to a plpython procedure

2007-03-11 Thread Rajarshi Guha
Hi, I have a table in which a column is of type real[12] I also have a function written in pl/Python that will accept two arguments of type real[12]. However when I send in the values by doing: select sim(ARRAY[1,1,1,1,1,1,1,1,1,1,1,1], ARRAY[1,1,1,1,1,1,1,1,1,1,1,1]) I get an error indicating