Skip site navigation (1) Skip section navigation (2)

Re: plpython integer types

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Emiliano Amilcarelli <amiemi(at)tin(dot)it>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: plpython integer types
Date: 2005-11-17 14:21:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Emiliano Amilcarelli <amiemi(at)tin(dot)it> writes:
> 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...

Does it work if you say "int4" instead?

			regards, tom lane

In response to


pgsql-novice by date

Next:From: Emiliano AmilcarelliDate: 2005-11-17 14:46:46
Subject: Re: plpython integer types
Previous:From: Emiliano AmilcarelliDate: 2005-11-17 07:54:44
Subject: plpython integer types

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group