From: | Michele Bendazzoli <mickymouse(at)mickymouse(dot)it> |
---|---|
To: | Michael Fuhr <mike(at)fuhr(dot)org> |
Cc: | pgsql <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: plpythonu strange syntax error |
Date: | 2005-02-18 11:26:00 |
Message-ID: | 1108725960.4676.18.camel@mickymouse.i.mickymouse.it |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Il giorno ven, 18-02-2005 alle 02:56 -0700, Michael Fuhr ha scritto:
> On Fri, Feb 18, 2005 at 10:38:17AM +0100, Michele Bendazzoli wrote:
>
> > I try to create a trivial (for testing purpouse) function with the
> > plpythonu language in postgresql 8.0 but when I try to utilize it the
> > postgres refuse to compile it for a sintax error:
> > 'ERROR: plpython: could not compile function ''myfunc''
> > DETAIL: exceptions.SyntaxError: invalid syntax (line 2)'
>
> Does the string that contains the Python code have carriage returns?
> Python is picky about that; there was a thread about it recently.
>
> http://archives.postgresql.org/pgsql-general/2005-01/msg00792.php
No, absolutely. I try an retry, but I'm not able to add a second line
without the previsuo error message appears.
Maybe it is related with a PGAdmin III bug?
Thank you,
ciao, Michele
From | Date | Subject | |
---|---|---|---|
Next Message | Michele Bendazzoli | 2005-02-18 11:44:47 | Re: plpythonu strange syntax error |
Previous Message | Michael Fuhr | 2005-02-18 09:56:23 | Re: plpythonu strange syntax error |