Re: BUG #5232: plpythonu s=s.op() raises an exception

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: David Gardner <dgardner(at)creatureshop(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5232: plpythonu s=s.op() raises an exception
Date: 2009-12-04 00:02:31
Message-ID: 10764.1259884951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Fred Wei 2009-12-04 01:21:34 BUG #5233: delete wrong doing with subquery where condition
Previous Message Peter Eisentraut 2009-12-03 23:57:10 Re: BUG #5232: plpythonu s=s.op() raises an exception