Re: BUG #5232: plpythonu s=s.op() raises an exception - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5232: plpythonu s=s.op() raises an exception
Date
Msg-id 10764.1259884951@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5232: plpythonu s=s.op() raises an exception  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: BUG #5232: plpythonu s=s.op() raises an exception  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
Peter Eisentraut <peter_e@gmx.net> writes:
> ... So you should not try to assign to
> the parameters of a function.

If it's allowed in normal Python functions, that definitely needs to be
documented.  Better would be to fix it or at least throw a more
intelligible error ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #5232: plpythonu s=s.op() raises an exception
Next
From: Robert Haas
Date:
Subject: Re: BUG #5230: Limit operator slows down