Re: plpythonu AKA am I crazy? or....

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Aron Roberts <aron(at)slam(dot)cc>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpythonu AKA am I crazy? or....
Date: 2004-01-16 19:54:46
Message-ID: 6108.1074282886@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aron Roberts <aron(at)slam(dot)cc> writes:
> When I create a function with an argument or return type of say an
> integer the data type seems to be passed properly. When trying for
> instance to send or return an integer array it always seems to be passed
> as a string which is very nearly useless.
> is this a quality of any embedded language or perhaps plpython in
> particular?

plpython in particular --- IIRC, its code for mapping between SQL
datatypes and Python datatypes isn't real bright. If there is a better
Python construct that arrays could be mapped to, feel free to send in
a patch ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2004-01-16 20:04:14 Re: plpythonu AKA am I crazy? or....
Previous Message Tom Lane 2004-01-16 19:51:57 Re: Problems with \copy and delimiters ','