Could someone help me out: whats wrong with this short snippet?
https://github.com/oberstet/scratchbox/blob/master/python/psycopg2/test7.py
Traceback (most recent call last):
File "test7.py", line 29, in <module>
cur.execute("SELECT test_employee(%s)", [v1])
psycopg2.ProgrammingError: cannot cast type record to t_address
LINE 1: ...4, ARRAY[1, 2, 3], NULL, ('Duckhausen', NULL, 18, ARRAY[(10,...
^
DETAIL: Cannot cast type record[] to t_station[] in column 4.
Thanks alot,
Tobias