plpython integer types

Поиск
Список
Период
Сортировка
От Emiliano Amilcarelli
Тема plpython integer types
Дата
Msg-id 437C3744.7090701@tin.it
обсуждение исходный текст
Ответы Re: plpython integer types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hi everibody,
a plpython function i'm writing fail with a strange ( to me ) message error:

.....
plan=ply.prepare("intert into text,text1,integer1,text"
values($1,$2,$3,$4)",["text","text","integer","text"])
ply.execute(plan,[var1,var2,var3,var4])
.....


The backend raise an errore saying:
    ERROR: type integer does not exist...

I can't understand this....
How can i solve this problem, or, say, how can I cast python variables?


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Receive a record not a tuple - plpgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plpython integer types