Re: [HACKERS] pgsql: Fix for plpython functions; return true/false for boolean,
From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
Tino Wildenhain <tino(at)wildenhain(dot)de>
Cc:
Bruce Momjian <bruce(at)momjian(dot)us>, Hannu Krosing <hannu(at)skype(dot)net>,
Guido Goldstein <guido(dot)goldstein(at)a-nugget(dot)org>,
Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org,
pgsql-patches(at)postgresql(dot)org
Subject:
Re: [HACKERS] pgsql: Fix for plpython functions; return true/false for boolean,
Tino Wildenhain <tino(at)wildenhain(dot)de> writes:
> Bruce Momjian schrieb:
>> I thought about suggesting that, but do we want plpython to have
>> different result behavior based on the version of python used? I didn't
>> think so.
> Why not?
Indeed --- the underlying language changed, so I should think that
python users would *expect* different behavior. +1 on a conditional
patch (see PY_VERSION_HEX...)
regards, tom lane