Re: flexi adaption/casting scheme

Поиск
Список
Период
Сортировка
От Tobias Oberstein
Тема Re: flexi adaption/casting scheme
Дата
Msg-id 505C8422.5060107@gmail.com
обсуждение исходный текст
Ответ на Re: flexi adaption/casting scheme  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
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


В списке psycopg по дате отправления:

Предыдущее
От: Tobias Oberstein
Дата:
Сообщение: Re: flexi adaption/casting scheme
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: flexi adaption/casting scheme